Пример #1
0
 internal static extern int IpcGetSerializedLicenseProperty(
     [In, MarshalAs(UnmanagedType.LPStruct)] IpcBuffer pvLicense,
     [In, MarshalAs(UnmanagedType.U4)] uint dwPropID,
     [In] SafeInformationProtectionKeyHandle hKey,
     [In, MarshalAs(UnmanagedType.U4)] uint lcid,
     [Out] out IntPtr ppvProperty);
Пример #2
0
 internal static extern int IpcGetSerializedLicensePropertyWithoutKey(
     [In, MarshalAs(UnmanagedType.LPStruct)] IpcBuffer pvLicense,
     [In, MarshalAs(UnmanagedType.U4)] uint dwPropID,
     [In] IntPtr pKey,
     [In, MarshalAs(UnmanagedType.U4)] uint lcid,
     [Out] out IntPtr ppvProperty);
Пример #3
0
 internal static extern int IpcGetKey(
     [In, MarshalAs(UnmanagedType.LPStruct)] IpcBuffer pvLicense,
     [In, MarshalAs(UnmanagedType.U4)] uint dwFlags,
     [In, MarshalAs(UnmanagedType.LPStruct)] IpcPromptContext pContext,
     [In] IntPtr pvReserved,
     [Out] out SafeInformationProtectionKeyHandle phKey);
Пример #4
0
 public SafeIpcBuffer(byte[] buffer)
 {
     ipcBuffer = new IpcBuffer(buffer);
 }
Пример #5
0
 public SafeIpcBuffer(byte[] buffer)
 {
     internalClass = new IpcBuffer(buffer);
 }
 public SafeIpcBuffer(byte[] buffer)
 {
     internalClass = new IpcBuffer(buffer);
 }
Пример #7
0
 internal static extern int IpcRegisterLicense(
     [In, MarshalAs(UnmanagedType.LPStruct)] IpcBuffer pvLicense,
     [In] IntPtr pvReserved,
     [In, MarshalAs(UnmanagedType.LPStruct)] IpcPromptContext pContext,
     string wszContentName,
     [In, MarshalAs(UnmanagedType.Bool)] bool fSendRegistrationMail);