(Classic ASP) Get Version of Chilkat
Demonstrate how to find out the version of Chilkat at runtime.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
' Most Chilkat classes include a Version property.
' To find the version of Chilkat, such as "9.5.0.94",
' instantiate the object and examine the Version property.
' For example:
' For versions of Chilkat < 10.0.0, use CreateObject("Chilkat_9_5_0.SFtp")
set sftp = Server.CreateObject("Chilkat.SFtp")
chilkatVersion = sftp.Version
Response.Write "<pre>" & Server.HTMLEncode( chilkatVersion) & "</pre>"
' Most other Chilkat classes also have the Version property
' For example:
' For versions of Chilkat < 10.0.0, use CreateObject("Chilkat_9_5_0.JsonObject")
set json = Server.CreateObject("Chilkat.JsonObject")
Response.Write "<pre>" & Server.HTMLEncode( json.Version) & "</pre>"
%>
</body>
</html>
|