.NET Programmatic Server Configuration

VB & C# code samples

Use the GetTagProperties and SetTagProperties methods to obtain and set desired properties of multiple tags in one call.

All configurations can be programmatically defined. This would include Tags, Data Logging, Alarm Logging, Alarm Notification, Recipes, Security, and Options.

Refer to the WinForm Example Code under the program group Open Automation Software-Examples for detailed examples and descriptions of using the free OASConfig and OPCSystems components.

The OASConfig .NET Standard 2.0 component and OPCSystems component for .NET Framework 4.0 applications is free to use and can be included in Windows Services, Web Services, ASP.NET or .NET MVC Web Applications, WinForm Applications, and WPF Applications. It is a 100% managed component and can be used to communicate and setup local and remote services.

One of most common functions is to programmatically define Open Automation Software tags. This can be seen under the Form FormConfigureCSV with the method TagCSVImport.

With the release of the OAS Platform v12, the .NET programmatic interface for server configuration is based on .NET Standard 2.0 with the OASConfig component. This allows you to configure an OAS server from an application that can be deployed to any supported OS, including Linux, Mac, Android, and iOS.

See our OASConfig documentation for more details.