05/15/2025
OfflineDear Members,
I am currently working on implementing an OPC UA server using C#.
As part of the project requirements, I need to support temporary file transfer from an OPC UA client to the server.
According to the OPC UA specification (UA Part 20: File Transfer, Section 4.4) UA Part 20: File Transfer - 4.4 Temporary file transfer, temporary file transfer is supported. I also noticed that the OPC UA .NET NuGet package includes a TemporaryFileTransferState class, that seems relevant for this functionality.
Could anyone kindly share a sample C# implementation or provide guidance on how to correctly use this class to enable temporary file transfer?
Your help would be greatly appreciated.
Best regards,
prashant
============================================================
public class TemporaryFileTransferState : BaseObjectState
{
private PropertyState<double> m_clientProcessingTimeout;
private GenerateFileForReadMethodState m_generateFileForReadMethod;
private GenerateFileForWriteMethodState m_generateFileForWriteMethod;
private CloseAndCommitMethodState m_closeAndCommitMethod;
}
05/30/2017
OfflineThis is an example of code that should download:
https://github.com/OPCFoundati.....Manager.cs
I am not sure it works completely at this time but it is close enough for your purposes.
1 Guest(s)


Log In

Usage Policy