License

Ecng.Licensing

License.

Constructores

License
public License(byte[] body)
license = License(body)

Initializes a new instance of the License.

body
License body.
License
public License(string fileName, byte[] body)
license = License(fileName, body)

Initializes a new instance of the License.

fileName
FileName
body
License body.

Propiedades

Body
public byte[] Body { get; }
value = license.Body

License body.

BodyWithoutSignature
public byte[] BodyWithoutSignature { get; }
value = license.BodyWithoutSignature

Body with no signature.

Features
public IDictionary<OSPlatform, IEnumerable<LicenseFeature>> Features { get; }
value = license.Features

Possible feature list.

FileName
public string FileName { get; }
value = license.FileName

License file name.

Id
public long Id { get; }
value = license.Id

License id.

IssuedDate
public DateTime IssuedDate { get; }
value = license.IssuedDate

Date of licensing.

IssuedTo
public string IssuedTo { get; }
value = license.IssuedTo

Email.

Signature
public byte[] Signature { get; }
value = license.Signature

Signature.

Version
public Version Version { get; }
value = license.Version

File format version.

Métodos

ToString
public override string ToString()
result = license.ToString()

Returns a string representation of the tuple, with values separated by commas.

Devuelve: A string representing the tuple's values.