Hello,

Sign up to join our community!

Welcome Back,

Please login to your account!

Forgot Password,

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

I receive the byte[] array (with loop until get all bytes of message) var buffer = new ArraySegment(new byte[2048]); result = await ws.ReceiveAsync(buffer, CancellationToken.None); Then I get the utf8 string using var reader = new StreamReader(ms, Encoding.UTF8); var message = await reader.ReadToEndAsync(); How you suggest get the hex? Transforming buffer to hex and then to string utf8? Is not the same?