/// <summary> /// Creates a new <see cref="FileRelayClientHandle"/> from a <see cref="IntPtr"/>. /// </summary> /// <param name="unsafeHandle"> /// The underlying <see cref="IntPtr"/> /// </param> /// <returns> /// </returns> public static FileRelayClientHandle DangerousCreate(System.IntPtr unsafeHandle) { return(FileRelayClientHandle.DangerousCreate(unsafeHandle, true)); }
public object MarshalNativeToManaged(System.IntPtr nativeData) { return(FileRelayClientHandle.DangerousCreate(nativeData, false)); }