More .NET libraries
-
Rebex Total Pack
All Rebex .NET libraries together
// create an instance of TLS client socket
var socket = new TlsClientSocket();
// connect to a server
socket.Connect("test.rebex.net", 990);
// negotiate a secure TLS session
socket.Negotiate();
// send data
byte[] request = new byte[] { 0x46, 0x45, 0x41, 0x54, 0x0D, 0x0A };
int bytesSent = socket.Send(request);
// receive data
byte[] response = new byte[1024];
int bytesRead = socket.Read(response);
Show me more code...
Why Rebex TLS?
Multiplatform TLS client and server
In 2020, TLS 1.2 is already a must-have feature, and TLS 1.3 is quickly gaining traction. However, support for these protocols in older versions of .NET and Windows is far from perfect. Rebex TLS makes it possible to easily add support for TLS 1.3 and 1.2 on a wide range of platforms - even those that do not support them natively.
Rebex TLS also supports TLS 1.3 and TLS 1.2 on legacy platforms (including .NET Framework 2.0/3.5 and .NET Compact Framework 3.5/3.9) and works on legacy operating systems (Windows Vista SP1, Windows XP SP3, Windows Mobile 5/6, Windows CE, Pocket PC, Windows Embedded Compact).
TLS 1.3 or TLS 1.2 with SHA-2 certificates on Windows XP or Windows CE
Rebex TLS provides the following modern TLS features:
- TLS 1.3, 1.2, 1.1, or 1.0 on Windows 7 or higher
- TLS 1.3, 1.2, 1.1, or 1.0 on Windows XP SP3 or higher
- TLS 1.3, 1.2, 1.1, or 1.0 on legacy .NET Compact Framework 3.5/3.9
- Fully asynchronous TLS core
- Elliptic Curve DSA (ECDSA) digital signature algorithm
- RSA digital signature algorithm
- Ed25519 digital signature algorithm
- ML-DSA post-quantum digital signature algorithm
- Elliptic Curve Diffie-Hellman (ECDH) key exchange
- ML-KEM post-quantum key exchange
- Modular Diffie-Hellman key exchange
- AES/GCM ciphers
- ChaCha20/Poly1305 ciphers
- SHA-2 certificates and hashing algorithms
- OCSP stapling
- Server Name Indication (SNI) extension
- Renegotiation Indication extension
- And more...
Note: ECDSA, ECDH require a plugin on very old systems. ML-KEM requires a plugin unless running on Windows 11 25H2. ML-DSA requires a plugin unless running on Windows 11 25H2 or up-to-date Linux with .NET 10 or later.
Platforms
.NET
.NET Framework
Xamarin.iOS
Xamarin.Android
Learn more about supported standards and platforms.
Legacy platforms
(not included in standard product packages - see more)
.NET Compact Framework