Quickstarts.ReferenceServer.ReferenceServer.LoadServerProperties C# (CSharp) Méthode

LoadServerProperties() protected méthode

Loads the non-configurable properties for the application.
These properties are exposed by the server but cannot be changed by administrators.
protected LoadServerProperties ( ) : ServerProperties
Résultat Opc.Ua.ServerProperties
        protected override ServerProperties LoadServerProperties()
        {
            ServerProperties properties = new ServerProperties();

            properties.ManufacturerName = "OPC Foundation";
            properties.ProductName      = "Quickstart Reference Server";
            properties.ProductUri       = "http://opcfoundation.org/Quickstart/ReferenceServer/v1.0";
            properties.SoftwareVersion  = Utils.GetAssemblySoftwareVersion();
            properties.BuildNumber      = Utils.GetAssemblyBuildNumber();
            properties.BuildDate        = Utils.GetAssemblyTimestamp();

            // TBD - All applications have software certificates that need to added to the properties.

            return properties;
        }