示例#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);