Class ProtectionKeyInfo
This class represents a license key that is used to turn the copy protection of a license file on or off.
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Licensing
Assembly: Sartorius.SAF.Licensing.dll
Syntax
[Serializable]
public class ProtectionKeyInfo : KeyInfo
Constructors
View SourceProtectionKeyInfo(String, ProtectionType, String)
Create and initialize a new instance of ProtectionKeyInfo
Declaration
public ProtectionKeyInfo(string key, ProtectionType protectionType, string hardwareId)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key value. |
ProtectionType | protectionType | |
System.String | hardwareId |
Properties
View SourceHardwareId
Gets the hardware id of the system this key can be applied on.
Declaration
public string HardwareId { get; }
Property Value
Type | Description |
---|---|
System.String |
IsApplicable
Gets a value indicating whether the key is applicable to the current system.
Declaration
public bool IsApplicable { get; }
Property Value
Type | Description |
---|---|
System.Boolean | A value indicating whether the key is applicable to the current system. |
ProtectionType
Gets the type ProtectionType.
Declaration
public ProtectionType ProtectionType { get; }
Property Value
Type | Description |
---|---|
ProtectionType |