I've seen this question a couple times in various forums, so here's what I know.  There are a few ways to tell if SSL is enabled.  This isn't a comprehensive list, I'm sure--just the ways I know of.  If you have another method, please add a comment.  Thanks!

1) Request.IsSecureConnection = true if SSL is enabled, false if not.  Request.IsSecure() will retuen true or false in a similar fashion.  The related Request.GetProtocol() method will return HTPS if Request.IsSecure() is true, otherwise HTTP.  These are found in the .NET Framework SDK documentation, available for download at www.asp.net.

2) Request.URL property has request.url.port and request.url.schema, which will return the protocol as well.  SSL usually uses port 443.  This is also in the SDK documentation.

3) Request.servervariables contains SERVER_PORT (integer value of port used) and SERVER_PORT_SECURE (0 if HTTP, 1 if HTTPS).