internal static void SetNetworkIdentity(string name) { UIntPtr size; byte[] namePtr = CreateUTF8String(name, out size); Interop.NT_SetNetworkIdentity(namePtr, size); }