Class IssueGeneralServices
Summary description for IssueServices.
Assembly: Slps.Domain.Interfaces.dll
Constructors
IssueGeneralServices()
Declaration
public IssueGeneralServices()
Methods
Declaration
public static void AddUpdateLicenseCustomTags(string tagName, string tagValue, LicensesDs license, string licenseId)
Parameters
Type |
Name |
Description |
System.String |
tagName |
|
System.String |
tagValue |
|
Microsoft.Licensing.LicenseIssue.LicensesDs |
license |
|
System.String |
licenseId |
|
GetChallengeStorePublicKey(LicensesDs, String)
Declaration
public static string GetChallengeStorePublicKey(LicensesDs license, string licenseId)
Parameters
Type |
Name |
Description |
Microsoft.Licensing.LicenseIssue.LicensesDs |
license |
|
System.String |
licenseId |
|
Returns
Type |
Description |
System.String |
|
Get the custom tags for the license by Name / LicenseId
Declaration
public static IEnumerable<LicensesDs.CustomTagsRow> GetCustomTags(string tagName, LicensesDs license, string licenseId)
Parameters
Type |
Name |
Description |
System.String |
tagName |
|
Microsoft.Licensing.LicenseIssue.LicensesDs |
license |
|
System.String |
licenseId |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Microsoft.Licensing.LicenseIssue.LicensesDs.CustomTagsRow> |
|
GetInitialMachineIdLockValue(LicensesDs, String)
Get the MachineId associated with this license if its reactivation is restricted to Initial Machine
Declaration
public static string GetInitialMachineIdLockValue(LicensesDs license, string licenseId)
Parameters
Type |
Name |
Description |
Microsoft.Licensing.LicenseIssue.LicensesDs |
license |
|
System.String |
licenseId |
|
Returns
Type |
Description |
System.String |
|
GetNamedUserLockDurationDefault(LicensesDs, String)
Declaration
public static int ? GetNamedUserLockDurationDefault(LicensesDs license, string licenseId)
Parameters
Type |
Name |
Description |
Microsoft.Licensing.LicenseIssue.LicensesDs |
license |
|
System.String |
licenseId |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
GetNumberOfActiveDevices(LicensesDs, LicensesDs.LicenseDataRow)
Declaration
public static int GetNumberOfActiveDevices(LicensesDs licenseDS, LicensesDs.LicenseDataRow licenseRow)
Parameters
Type |
Name |
Description |
Microsoft.Licensing.LicenseIssue.LicensesDs |
licenseDS |
|
Microsoft.Licensing.LicenseIssue.LicensesDs.LicenseDataRow |
licenseRow |
|
Returns
Type |
Description |
System.Int32 |
|
GetNumberOfLicenseActivations(LicensesDs, LicensesDs.LicenseDataRow)
Declaration
public static int GetNumberOfLicenseActivations(LicensesDs licenseDS, LicensesDs.LicenseDataRow licenseRow)
Parameters
Type |
Name |
Description |
Microsoft.Licensing.LicenseIssue.LicensesDs |
licenseDS |
|
Microsoft.Licensing.LicenseIssue.LicensesDs.LicenseDataRow |
licenseRow |
|
Returns
Type |
Description |
System.Int32 |
|
GetNumberOfLicenseActivations(LicensesDs, String)
Declaration
public static int GetNumberOfLicenseActivations(LicensesDs oLicDs, string sLicId)
Parameters
Type |
Name |
Description |
Microsoft.Licensing.LicenseIssue.LicensesDs |
oLicDs |
|
System.String |
sLicId |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static string GetParamsFormatString(string sStr, Hashtable oParamsMap)
Parameters
Type |
Name |
Description |
System.String |
sStr |
|
System.Collections.Hashtable |
oParamsMap |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string GetParamsFormatString(string sStr, string sParamName, string sParamValue)
Parameters
Type |
Name |
Description |
System.String |
sStr |
|
System.String |
sParamName |
|
System.String |
sParamValue |
|
Returns
Type |
Description |
System.String |
|
GetRegistrationFieldTypeByDisplayText(String)
Declaration
public static StandardRegistrationFields GetRegistrationFieldTypeByDisplayText(string sFieldName)
Parameters
Type |
Name |
Description |
System.String |
sFieldName |
|
Returns
Type |
Description |
Microsoft.Licensing.LicenseIssue.StandardRegistrationFields |
|
GetRegistrationTypeDisplayText(StandardRegistrationFields)
Declaration
public static string GetRegistrationTypeDisplayText(StandardRegistrationFields type)
Parameters
Type |
Name |
Description |
Microsoft.Licensing.LicenseIssue.StandardRegistrationFields |
type |
|
Returns
Type |
Description |
System.String |
|
GetRegistrationTypeDisplayText(String)
Declaration
public static string GetRegistrationTypeDisplayText(string sTypeName)
Parameters
Type |
Name |
Description |
System.String |
sTypeName |
|
Returns
Type |
Description |
System.String |
|
GetSeatBasedLicenseValueOrDefault(LicensesDs, String)
Declaration
public static bool GetSeatBasedLicenseValueOrDefault(LicensesDs license, string licenseId)
Parameters
Type |
Name |
Description |
Microsoft.Licensing.LicenseIssue.LicensesDs |
license |
|
System.String |
licenseId |
|
Returns
Type |
Description |
System.Boolean |
|
GetSubscriptionPeriodValueOrDefault(LicensesDs, String)
Declaration
public static int ? GetSubscriptionPeriodValueOrDefault(LicensesDs license, string licenseId)
Parameters
Type |
Name |
Description |
Microsoft.Licensing.LicenseIssue.LicensesDs |
license |
|
System.String |
licenseId |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
GetSubscriptionRenewUntilValueOrDefault(LicensesDs, String)
Declaration
public static DateTime? GetSubscriptionRenewUntilValueOrDefault(LicensesDs license, string licenseId)
Parameters
Type |
Name |
Description |
Microsoft.Licensing.LicenseIssue.LicensesDs |
license |
|
System.String |
licenseId |
|
Returns
Type |
Description |
System.Nullable<System.DateTime> |
|
Remove License CustomTags for TagName / LicenseId
Declaration
public static void RemoveLicenseCustomTagsFor(string tagName, LicensesDs license, string licenseId)
Parameters
Type |
Name |
Description |
System.String |
tagName |
|
Microsoft.Licensing.LicenseIssue.LicensesDs |
license |
|
System.String |
licenseId |
|
SendMail(MailData)
Declaration
public static void SendMail(MailData data)
Parameters
Type |
Name |
Description |
Microsoft.Licensing.LicenseIssue.MailData |
data |
|