Visual Basic (Declaration)
C#
Parameters
- url
- Input URL or null.
Return Value
HTTPS URL or an original URL if it is non-HTTP URL.
If the input URL is null or its schema is not "http", the input URL is returned.
When converted, the "http" schema name is replaced with "https", port 80 is
replaced with 443, and port 8080 is replaced with 8443. Convertion result
contains "https" schema, host name, port, and local path. Other components
of input URL are ignored.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family