Table of Contents

Class PolarCertificate

Namespace
PolarStudio
Assembly
PolarStudio.dll

This class provides an interface to get values from a Blue Polar Certificate, as is used for licence certificates for Polar Studio.

public class PolarCertificate
Inheritance
PolarCertificate
Inherited Members
Extension Methods

Fields

NoDateLimit

Returns True if the certificate has no date limit.

public bool NoDateLimit

Field Value

bool

Properties

CertificateFileDateTime

Returns the date time of the file containing the certificate in the file system.

public DateTime CertificateFileDateTime { get; }

Property Value

DateTime

CertificateLog

Returns a text based log that is created when searching for the certificate. It can help to see why this certificate is used.

public string CertificateLog { get; }

Property Value

string

CertificateText

Returns the full certificate text, excluding the key.

public string CertificateText { get; }

Property Value

string

DevelopmentCertificate

Returns True if the certificate is meant for development puposes.

public bool DevelopmentCertificate { get; }

Property Value

bool

ExpirationDate

Returns the date time this certificate will expire.

public DateTime ExpirationDate { get; }

Property Value

DateTime

Key

Returns the key that is used to sign the certificate.

public string Key { get; }

Property Value

string

MaxConcurrentUsers

Returns the maximum numver of users as set in the certificate.

public int MaxConcurrentUsers { get; }

Property Value

int

Path

Returns the full path of the certificate in the file system.

public string Path { get; }

Property Value

string

Methods

GetSetting(string)

This method can be used to retrieve a specific setting from the certificate. These settings must be in the certificate like: [MySettingName:SomeValue]

public string GetSetting(string pSettingName)

Parameters

pSettingName string

The name of the setting to get.

Returns

string

A string with the value or an empty string if the setting was not found.