Class Documentation ApplicationClientUsage enUS
Class Documentation ApplicationClientUsage enUS
ApplicationClientUsage 1
administration
Programming Manual
03/2021 V10.4
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage
to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices
referring only to property damage have no safety alert symbol. These notices shown below are graded according to
the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will be
used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property
damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended or
approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance
are required to ensure that the products operate safely and without any problems. The permissible ambient
conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication may
be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software described.
Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this
publication is reviewed regularly and any necessary corrections are included in subsequent editions.
usageLifetime.AliveStatus += EvaluateAliveStatus;
See also
Explanations for "Program.cs" (Page 11)
Naming license
private const string ExistingLicense = "Platform";
• The license name is case sensitive.
• The file name of a license file supplied by Siemens Support is usually not identical to the
license name. You will receive a list of the internal license names from COMOS Support if you
have a justifiable need.
• The associated license must be available according to the information in
"COMOS.ApplicationClientUsage.config".
Request license
requestSingleLicense.RequestSingleLicense($@"<Param
ProductName=""{ExistingLicense}"" UserName=""User1"" IsAdmin=""1"" /
>");
• ExistingLicense has been declared as a constant in this example. You can also enter the
license name here.
• UserName is case sensitive.
• IsAdmin: [0 | 1]
This property sets the access to the administrator mode. This property provides the
corresponding account with more information and feedback.
See also "Installation and Configuration" manual,
keyword <WarningBeforeExpirationAdmin>.
Syntax
With the exception of <connection name="..." CallingOrder="...">, all entries are
identical to "Comos.LicenseLib.config". For more information on
"Comos.LicenseLib.config", see the "Installation and Configuration" manual, keyword
"Syntax of the "Comos.LicenseLib.config"".
<configuration>
• <ComosLicenseServer>
Name of the server PC on which COMOS LS Process is installed.
• <ComosLicenseServerPort>
Port through which communication with COMOS LS Process takes place. If the value is
empty, 27011 is used as a default.
• <IgnoreProxySettings>
– 0: The Internet Explorer proxy settings are used.
– 1: (Default): The proxy server is ignored.
• <CryptUseMachineContainer>
– 0: The temporary files created for the encoding through Windows are stored in the user
profile. This is the default value.
Example for Windows 10: "C:\Users\<User>\AppData\Roaming\..."
– 1: The temporary files created for the encoding through Windows are stored in the public
profile of the PC.
Example for Windows 10: "C:\Users\All Users\..." or "C:\Users\Public\..."
• <UseLicenseServer>
If this key is available, the registry key LastUsedLicenseServer is ignored.
FLEXlm: Communication takes place via the FLEXlm license server.
CLM: Communication takes place via COMOS LS Process.
The <UseLicenseServer> key is evaluated by the "Comos.dll" file - not by the
"Comos.LicenseLib.dll" file as in the case of the others.
• <connection name="..." CallingOrder="...">
The order in which the <Settings> entries are evaluated.
name: For free use.
CallingOrder: Unique natural number.
Similar functions
The keys in "COMOS.ApplicationClientUsage.config" are identical to the keys in
"Comos.LicenseLib.config". For more information on "Comos.LicenseLib.config", see the
"Installation and Configuration" manual, keyword "Syntax of the "Comos.LicenseLib.config"".