question

Vishal avatar image
Vishal asked Vishal published

Clover SDK 4.0.2 with .NET 4.0 using Secure Network Pay Display

Hi

I am using Clover SDK C# 4.0.2 with .NET 4.0 using Secure Network Pay Display.
I am building Clover SDK application with .NET 4.0 because it should support all OS like Windows 10,8 , 7 , XP and Windows POSready. thats why i am building my application with .NET 4.0.

I have clover mini testing device, when i connect my application with Clover mini device using network pay display app (ws:\\192.168.1.123:12345\remote_pay) - Its working fine.

https://docs.clover.com/clover-platform/docs/configuring-secure-network-pay-display
Based on above link
We can able to connect clover mini device using .NET 4.5 config only for secure wss connection, .NET4.0 does support secure wss connection.

case "ws":
          websocket = new WebSocket(endpoint);
          break;
case "wss":
#if NET40                   
           throw new ArgumentException("Clover Windows SDK does not support SSL connections in .NET 4.0, only in .NET 4.5 configurations.", nameof(endpoint));
#elif NET45
           //websocket = new WebSocket(endpoint, sslProtocols: SslProtocols.Tls);
           websocket.Security.AllowUnstrustedCertificate = true; // for testing ONLY
#endif
           break;


So my question is How can i build the Clover SDK C# 4.0.2 application with .NET 4.0 using network pay display for secure wss connection, Old OS like XP and Windows POSready does not support .NET 4.5.

You got my question?

Do the needful.
Clover Minisemi-integrations
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community