Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Server.WebServer
- WeOnlyDo.Server.WebHeader
- WeOnlyDo.Server.WebHeaders
- WeOnlyDo.Server.WebRequest
- WeOnlyDo.Server.WebResponse
- WeOnlyDo.Server.WebSessions
- WeOnlyDo.Server.WebSessionVar
- WeOnlyDo.Server.WebSessionVars
- WeOnlyDo.Server.WebUpload
- WeOnlyDo.Server.WebUploads
- WeOnlyDo.Server.WebUser
- WeOnlyDo.Server.WebUsers
- How to get support?
Certificate property
Holds certificate/private key information.
Type
ObjectSyntax
- C#
- VB.NET
Object Certificate {get; set; };
Property Certificate As Object
Remarks
Certificate property must be set when wodWebServer.NET is used in secure mode - with Secure property set to True. In those cases you need private key and a certificate, so you use to decrypt data coming from the client. Certificate property will hold this key from you.You can load both certificate (shown to the client) and the private key (for decrypting data). You can try using it this way:
Dim cert As System.Security.Cryptography.X509Certificates.X509Certificate2
wodWebD1 = new WeOnlyDo.Server.WebServer
cert.Import("certificate.pfx", "certificate_password", Security.Cryptography.X509Certificates.X509KeyStorageFlags.Exportable)
wodWebD1.Certificate = cert wodWebD1.Start()
If you don't specify this property for secure wodWebServer.NET and try to start the server, an error will be generated.