Skip to content

Releases: convertersystems/opc-ua-client

Maintenance Release

14 Feb 13:57
Compare
Choose a tag to compare

Updated Microsoft.IO.RecyclableMemoryStream package to 3.0.0

Maintenance Release

17 Dec 03:09
Compare
Choose a tag to compare

throw pending exception from channel.
mark ServiceResultException Serializable.
fix unit tests.
update readme.

Fix for when remote certificate is null.

29 Aug 04:16
Compare
Choose a tag to compare
v3.2.1

Merge branch 'master' of https://github.com/convertersystems/opc-ua-c…

Refactor channel class names to use Client prefix.

16 Mar 00:56
Compare
Choose a tag to compare

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

Bug fixes: Check expired certificate. Message chunking.

16 Mar 00:40
Compare
Choose a tag to compare

Support GetValueOrDefault<> of custom type.

16 Mar 00:37
Compare
Choose a tag to compare

Support for creating a Type Library of custom Structures

11 Nov 18:11
Compare
Choose a tag to compare

In v3.0, we ask that you mark the assembly containing your custom structures with TypeLibrary() attribute.
The Encoder/Decoder will discover these custom structures and be able to read and write these structures with the server.


using System;
using Workstation.ServiceModel.Ua;

[assembly: TypeLibrary()]
namespace CustomTypeLibrary
{
    [DataTypeId("nsu=http://www.unifiedautomation.com/DemoServer/;i=3002")]
    [BinaryEncodingId("nsu=http://www.unifiedautomation.com/DemoServer/;i=5054")]
    public class CustomVector : Structure
    {
        public double X { get; set; }
        public double Y { get; set; }
        public double Z { get; set; }
        public override void Encode(IEncoder encoder)
        {
            encoder.WriteDouble("X", X);
            encoder.WriteDouble("Y", Y);
            encoder.WriteDouble("Z", Z);
        }
        public override void Decode(IDecoder decoder)
        {
            X = decoder.ReadDouble("X");
            Y = decoder.ReadDouble("Y");
            Z = decoder.ReadDouble("Z");
        }
    }
}

Nullable Reference Types

21 Jun 03:58
Compare
Choose a tag to compare

Adopt nullable reference types (NRT) in preparation for .NET 5.
See https://devblogs.microsoft.com/dotnet/embracing-nullable-reference-types
Thank you, @quinmars

Ignore UTF8 decoder errors. Send nonce, local cert with CreateSession always.

09 Feb 02:35
Compare
Choose a tag to compare
v2.5.1

Merge branch 'master' of https://github.com/convertersystems/opc-ua-c…

Support v1.04 nodes, attributes, status codes.

01 Oct 21:54
1e7d60d
Compare
Choose a tag to compare

Support the latest version of the OPC Foundation specification v1.04 with additional types, node attributes, and status codes.