question

Vishal avatar image
Vishal asked ·

Build CloverWindowsTransport

Hi
I am using Clover SDk 4.0.2 C# version. I would like to modify the CloverWindowsTransport dll source. Does it possible to do that?
Why i need that
File name WebSocketCloverTransport.cs
Method - Connect(string)

case ws: - works fine.
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

I need to modify the source under #if NET40 condition, Does it possible? i am going to use third party tool to accept SSL connection part when i use .NET 4.0

I hope you understand my question.

Looking forward it.
Clover Minisemi-integrations
10 |2000 characters needed characters left characters exceeded

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

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