OPCFoundation / UA-.NETStandard

OPC Unified Architecture .NET Standard
Other
1.95k stars 945 forks source link

Running on WinRT (UWP)? #70

Closed tomaskrutak closed 8 years ago

tomaskrutak commented 8 years ago

Hello, I would like to know if this OPC library is able to run as UWP application. I am trying to make the project UWP but because not all libraries are available as in full .NET framework (cryptography) then it does not work. Thank you

barnstee commented 8 years ago

UWP is fully supported. If you open the solution file in https://github.com/OPCFoundation/UA-.NETStandardLibrary you'll see both sample Client and Server UWP applications. What do you mean by "not all libraries are available as in full .NET framework (cryptography)"?

tomaskrutak commented 8 years ago

First I have to mention that I am not professional very experienced programmer. But my goal was to make running OPC client or server on raspberry Pi 3 as I understand then app must be working under WinRT UWP framework? For instance this OPC library is usinf .NET framework classes in the namespace System.Security.Cryptography.X509Certificates which is not supported by UWP application.

barnstee commented 8 years ago

You are right, you need to run a Universal app on Windows for Raspberry Pi3. The .NEt Team did add support for X509 certificates over a year ago, see here: https://github.com/dotnet/corefx/commit/484931a343eb48d326cb698c8766a28d0e079aee

Just try this sample on your Raspi3. It works as-is: https://github.com/OPCFoundation/UA-.NETStandardLibrary/tree/master/SampleApplications/Samples/Client (it is a combined client/Server)

tomaskrutak commented 8 years ago

Thank you very much for support I will try!

barnstee commented 8 years ago

Great, let me know if you get it working...

tomaskrutak commented 8 years ago

I downloaded, built solution and finally was able to deploy on my raspberry :). Its running.. So thanks once more!