I found a David Demaray, that was in the Albany County Militia 14th Regiment, also found for a David Demaray, a U.S. Revolutionary War Pension and Bounty-Land Warrant Application, couldn't get the written info for it.
I don't know how much ancestry info you have on this family, but I was able to take it back to 1555 in France.
David Demaray b. 5 Jan 1782 New York d. 9 April 1858 Ontarion, CA
Married Jane Marsh b. 1786 d. 1858
Children: David,Eunice,Jane,Margaret,Mary,Priscila,Samuel,Sarah,William,Ann and Simon.
David parents were: Samuel Demaray 1754-1819 and Griftje Martin 1754-1819.
If you are interest in getting more Demaray ancestry, please get back with me at firstname.lastname@example.org