Esempio n. 1
0
 public LicensingRpcResults(OverallRpcResult overallRpcResult)
 {
     if (overallRpcResult == null)
     {
         throw new ArgumentNullException("overallRpcResult");
     }
     base.SetParameterValue("OverallRpcResult", overallRpcResult);
 }
 public GetTenantActiveCryptoModeRpcResults(OverallRpcResult overallRpcResult, ActiveCryptoModeResult[] originalResults) : base(overallRpcResult)
 {
     if (overallRpcResult == null)
     {
         throw new ArgumentNullException("overallRpcResult");
     }
     if (originalResults == null)
     {
         throw new ArgumentNullException("originalResults");
     }
     ActiveCryptoModeRpcResult[] array = new ActiveCryptoModeRpcResult[originalResults.Length];
     for (int i = 0; i < array.Length; i++)
     {
         array[i] = new ActiveCryptoModeRpcResult(originalResults[i]);
     }
     base.SetParameterValue("GetTenantActiveCryptoModeRpcResult", array);
 }
Esempio n. 3
0
 public AcquireTenantLicensesRpcResults(OverallRpcResult overallRpcResult, XmlNode[] rac, XmlNode[] clc) : base(overallRpcResult)
 {
     if (overallRpcResult == null)
     {
         throw new ArgumentNullException("overallRpcResult");
     }
     if (rac == null || rac.Length <= 0)
     {
         throw new ArgumentNullException("rac");
     }
     if (clc == null || clc.Length <= 0)
     {
         throw new ArgumentNullException("clc");
     }
     base.SetParameterValue("RacStringArray", DrmClientUtils.ConvertXmlNodeArrayToStringArray(rac));
     base.SetParameterValue("ClcStringArray", DrmClientUtils.ConvertXmlNodeArrayToStringArray(clc));
 }
Esempio n. 4
0
 public AcquireUseLicensesRpcResults(OverallRpcResult overallRpcResult, UseLicenseResult[] originalResults) : base(overallRpcResult)
 {
     if (overallRpcResult == null)
     {
         throw new ArgumentNullException("overallRpcResult");
     }
     if (originalResults == null)
     {
         throw new ArgumentNullException("originalResults");
     }
     UseLicenseRpcResult[] array = new UseLicenseRpcResult[originalResults.Length];
     for (int i = 0; i < array.Length; i++)
     {
         array[i] = new UseLicenseRpcResult(originalResults[i]);
     }
     base.SetParameterValue("UseLicenseRpcResult", array);
 }