I am testing support for encrypted connections from my client application to my SQL server using SSL. I installed my test certificate and added "encrypt = true" to the connection string, and everything works fine.
If I connect to my SQL server using Management Studio, I can view the connection properties and make sure that yes, the connection is encrypted.
What am I trying to find out if a similar property can be in NHibernate so that my application can detect that yes, the connection it uses is encrypted?
I looked at an instance of the ISession object for any property that might indicate an encrypted connection, but found nothing.
source
share