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