Node Js to C#