SftMask/NET includes sample code for C# and VB.NET.
The following samples can be found in the folder C:\Program Files (x86)\Softelvdm\SftMask NET 3.0\Samples:
| Sample | Description |
|---|---|
| C# DemoSample Sample | Shows fields for a phone number, a ZIP+4 code, an amount with the popup calculator, a percentage, a quantity, an IP address, a hexadecimal color, a license key, a PIN, a city with autocomplete and a file name with an ellipsis button, with options that change the culture, dark mode, high contrast, the input mode, the entry selection, the prompt character, the underlines and the colors for invalid contents. |
| C# EventViewer Sample | Inspects the events of an amount with up and down buttons and the popup calculator and of a part number with autocomplete and an ellipsis button, refuses amounts over 10,000 in the CustomValidation event and cancels the calculator in the CalculatorOpening event. |
| Sample | Description |
|---|---|
| VB.NET DemoSample Sample | Shows fields for a phone number, a ZIP+4 code, an amount with the popup calculator, a percentage, a quantity, an IP address, a hexadecimal color, a license key, a PIN, a city with autocomplete and a file name with an ellipsis button, with options that change the culture, dark mode, high contrast, the input mode, the entry selection, the prompt character, the underlines and the colors for invalid contents. |
| VB.NET EventViewer Sample | Inspects the events of an amount with up and down buttons and the popup calculator and of a part number with autocomplete and an ellipsis button, refuses amounts over 10,000 in the CustomValidation event and cancels the calculator in the CalculatorOpening event. |