Application.LicenseServer Property

ClosedDescription

Returns a reference to the LicenseServer object. Read-only.

ClosedSyntax

Application.LicenseServer

ClosedRequirements

Version

BarTender 6.12 or higher

Edition

Automation, Enterprise Automation

ClosedVB.NET Example

'Declare a BarTender application variable

Dim btApp As BarTender.Application

'Create a new instance of BarTender variable

btApp = New BarTender.Application

'Set the BarTender application visible

btApp.Visible = True

'Set the license server port to 5160

btApp.LicenseServer.Port = 5160

'End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges)

ClosedC# Example

// Declare a BarTender application variable

BarTender.Application btApp;

// Create a new instance of BarTender

btApp = new BarTender.Application();

// Set the BarTender application visible

btApp.Visible = true;

// Set the license server port to 5160

btApp.LicenseServer.Port = 5160;

// End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);

Related Topics