コード例 #1
0
            public void GetLicInfo(ref LICINFO licInfo)
            {
                bool runtimeKeyAvail;
                bool licVerified;

                _licenseProxy.GetLicInfo(_classType, out runtimeKeyAvail, out licVerified);

                // The LICINFO is a struct with a DWORD size field and two BOOL fields. Each BOOL
                // is typedef'd from a DWORD, therefore the size is manually computed as below.
                licInfo.cbLicInfo        = sizeof(int) + sizeof(int) + sizeof(int);
                licInfo.fRuntimeKeyAvail = runtimeKeyAvail;
                licInfo.fLicVerified     = licVerified;
            }
コード例 #2
0
ファイル: ComActivator.cs プロジェクト: y285568599/coreclr
 public void GetLicInfo(ref LICINFO pLicInfo)
 {
     throw new NotImplementedException();
 }