OPC UA server development in C#
OPC Wizard makes it easy for you to build an OPC UA server and host it directly in your C# solution. With no unnecessary boilerplate code, you can develop the server as quickly as with no other tool. Extensive set of examples, and conceptual and reference documentation cover the tasks needed for OPC server development. The toolkit constructs the server address space from your code, provides secure communication and application certificate exchange, and supports all OPC UA services necessary for reading, writing, subscriptions, and discovery.
For OPC client or subscriber development in C#, see QuickOPC instead.
Server example in C# using OPC Wizard
Following C# code uses OPC Wizard to implement a fully functional OPC UA server with a data variable that provides random integer values.
var server = new EasyUAServer(); var random = new Random(); server.Add(new UADataVariable("DataVariable1").ReadValueFunction(() => random.Next())); server.Start();
The programming is straightforward, and the developer can focus on getting the work done and not on fighting the intricacies of OPC protocols.
Getting Started with OPC Wizard under .NET Framework or .NET
Free, fully functional trial license is included.