public int nabtoStreamConnectionType(IntPtr stream, out ConnectionType type)
 {
     return(Win32NativeMethods.nabtoStreamConnectionType(stream, out type));
 }