Skip to content

Refactor channel class names to use Client prefix.

Compare
Choose a tag to compare
@awcullen awcullen released this 16 Mar 00:56
· 20 commits to master since this release

Instead of UaTcpSessionChannel, use ClientSessionChannel. See Readme for details.

        // create a 'ClientSessionChannel', a client-side channel that opens a 'session' with the server.
        var channel = new ClientSessionChannel(
            clientDescription,
            null, // no x509 certificates
            new AnonymousIdentity(), // no user identity
            "opc.tcp://opcua.rocks:4840", // the public endpoint of a server at opcua.rocks.
            SecurityPolicyUris.None); // no encryption