Licence Protector

GetLPComputername

Hide Navigation Pane

GetLPComputername

Previous topic Next topic No directory for this topic  

GetLPComputername

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for the print function Mail us feedback on this topic!  

This command  retrieves the computer name (hostname) of the PC, on which the application is running. In a Terminal Server / Citrix environment it is the computer name, which runs the Terminal Server / Citrix session.

 

This value could be used to check, if the computername is already added in the license file - retrieve all computer names from the license file with GetEntriesOfModule - delete values with DeactivateEntry and RemoveDeactivated .

 

Name

GetLPComputername                                                                                

Purpose

This command  retrieves the computer name (hostname) of the PC, on which the application is running.

Params

None

Returncode

Returncode

Type String

Note

mirage-01-office2

hostname of the PC

 

Usage

retrieve system information

Sample

 

  sComputername := lic.GetLPComputername;

  << use the name in the application logic >>

  ...

See also

GetEntriesOfModule, DeactivateEntry, RemoveDeactivated