Using SQL Server Management Studio:
declare @g geography
set @g = geography::Point(-77.1851436,39.1065236,4326)
select @g
returns
0xE6100000010C14C48A64D94B53C04820B990A28D4340
What format is this result? I know that it is not STAsBinary() - that returns
0x01010000004820B990A28D434014C48A64D94B53C0
Is there a way to create the 0xE61... value using C#?