Contains information about the program version and license type.
| Namespace | FabulaTech.VSPC |
|---|---|
| Class Name | FTVSPCControl |
| Assembly Name | ftvspcnet |
| .NET Component File Name | ftvspcnet.dll |
| Port Enumeration | |
|---|---|
| EnumPhysical | Refreshes information about physical serial ports (or third-party virtual serial ports) and returns their number. |
| EnumVirtual | Refreshes information about virtual serial ports and returns their number. |
| GetPhysical | Retrieves the name of physical serial port by index. |
| GetVirtual | Retrieves virtual serial port name by index. |
| Creating and Removing Ports | |
| CreatePort | Creates virtual serial port with non-standard name. |
| CreatePortOverlapped | Creates virtual serial port over existing COM port. |
| RemovePort | Removes a virtual serial port with non-standard name. |
| Other | |
| GetLastError | Returns last error code for the latest operation. |
| ExpirationDate | String containing a date of trial license expiration. The date format depends on the locale settings. If the string is empty, the license is not trial. |
| LicenseKey | License Key. In case of using dynamically created object, this property should be set in the first place, before calling any method or setting any other property. |
| LicenseType | License type. Refer to FTVSPCLicenseType. |
| LicensedCompany | String containing the name of the company to which the license is issued. This string can be empty. |
| LicensedUser | String containing the name of the person to which the license is issued. This string can be empty. |
| NumberOfLicenses | Number of computers allowed to install the program according to the license. If set to zero, the number of computers is unlimited. |
| NumberOfPorts | Maximum number of ports allowed to work. If set to zero, the number of ports is unlimited. |
| PortTrialTime | Maximum time of life for each virtual serial port (in minutes). During this time serial application can work with the virtual serial port. If set to zero, no time limitation. |
| Version | String containing program version number. |
| OnLicenseQuotaExceeded | Program has detected excess of allowed number of licenses in the network. Program is disabled now. |
| OnPortCreate | FabulaTech virtual serial port has been created. |
| OnPortLimitExceeded | Number of open virtual serial ports exceeded (this event fires when some application opens extra virtual serial port). |
| OnPortRemove | FabulaTech virtual serial port has been removed. |
| OnThirdPartyPortCreate | Third party serial port has been created. |
| OnThirdPartyPortRemove | Third party serial port has been removed. |
| OnTrialExpired | Trial period expired. Program is disabled now. |