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