BACnet.Ashrae.RequestKeyRequest.Load C# (CSharp) Method

Load() public static method

public static Load ( IValueStream stream ) : RequestKeyRequest
stream IValueStream
return RequestKeyRequest
        public static RequestKeyRequest Load(IValueStream stream)
        {
            stream.EnterSequence();
            var requestingDeviceIdentifier = Value<ObjectId>.Load(stream);
            var requestingDeviceAddress = Value<NetworkAddress>.Load(stream);
            var remoteDeviceIdentifier = Value<ObjectId>.Load(stream);
            var remoteDeviceAddress = Value<NetworkAddress>.Load(stream);
            stream.LeaveSequence();
            return new RequestKeyRequest(requestingDeviceIdentifier, requestingDeviceAddress, remoteDeviceIdentifier, remoteDeviceAddress);
        }