Show / Hide Table of Contents

Class ProtectionKeyInfo

This class represents a license key that is used to turn the copy protection of a license file on or off.

Inheritance
System.Object
KeyInfo
ProtectionKeyInfo
KeyInfo.Key
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 Source

ProtectionKeyInfo(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

ProtectionType

System.String hardwareId

Properties

View Source

HardwareId

Gets the hardware id of the system this key can be applied on.

Declaration
public string HardwareId { get; }
Property Value
Type Description
System.String
View Source

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.

View Source

ProtectionType

Gets the type ProtectionType.

Declaration
public ProtectionType ProtectionType { get; }
Property Value
Type Description
ProtectionType

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX