LicenseReaderGetLicenseStatus Method (ConnectionId, SessionId, LicenseReaderEditions, LicenseReaderModules, DateTime, Int32, String, String, String, DateTime, String) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Retrieves the license status of Content Studio.

Namespace: ContentStudio
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public bool GetLicenseStatus(
	ConnectionId connectionId,
	SessionId sessionId,
	out LicenseReaderEditions outEdition,
	out LicenseReaderModules outModules,
	out DateTime expires,
	out int status,
	out string regCompany,
	out string regOwner,
	out string regContact,
	out DateTime regDate,
	out string regEmail
)

Parameters

connectionId
Type: ContentStudioConnectionId
A value that identifies the web site
sessionId
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
outEdition
Type: ContentStudioLicenseReaderEditions
One of the editions of Content Studio.
outModules
Type: ContentStudioLicenseReaderModules
A flag value that contains a combination of the extra modules that are enabled
expires
Type: SystemDateTime
A date that indicates when the license expires. This value is DataTime.MaxValue if the license does not expire.
status
Type: SystemInt32
Status of the license. This value can be 0 on Success; 14 if the trial license has expired. Other results indicates an invalid license.
regCompany
Type: SystemString
The company that registered the license
regOwner
Type: SystemString
The registered owner
regContact
Type: SystemString
The registered company
regDate
Type: SystemDateTime
The date when the license was registered
regEmail
Type: SystemString
The email of the registered owner

Return Value

Type: Boolean
True if a valid license exists
See Also

Reference