I can use SSL connection from files.
but i don't know how to use storage and resource to connection SSL.
can you show me some sample code..
thank you
How to use SSL connection from storage and resource ?
-
- Posts: 3
- Joined: Mon 31 Oct 2005 11:35
Using certificate and key from resource is very easy. To do this invoke Select Certificate dialog from Property editor for MySqlConnection.SslOptions.Cert property, choose 'Resource' option, select file. This file will be automatically added to your program as embedded resource.
To use certificate from storage you have to install appropriate certificates to the storage, then select required certificate using MySqlConnection design-time features.
To use certificate from storage you have to install appropriate certificates to the storage, then select required certificate using MySqlConnection design-time features.
-
- Posts: 3
- Joined: Mon 31 Oct 2005 11:35