webscoket-sharp dll code example Example 1: websocketsharp var ws = new WebSocket ("ws://example.com"); Example 2: websocketsharp using WebSocketSharp;