devo fare il controllo Request.ServerVariables("https") in un file aspx ed inserirlo in una variabile per la costruzione di un indirizzo.

non sono pratico di asp.net

in asp faccio così:
codice:
if request.serverVariables("HTTPS") = "on" then
	httpVar = "https"
else
	httpVar = "http"
end if


address= httpVar&"://www.ecc.tld"
come si scrive in asp.net?
credo che serva sapere il linguaggio dichiarato:
codice:
<%@ Page Language="C#" LCID=1040 Debug="false" Trace="false" %>