The GetWebsiteDiskSpaceUsedMB function returns the amount of disk space used by a website in your account in megabytes. All of the input parameters are strings. The return value is also a string.

ASP.NET code example
(using web service proxy class)

Dim objTemp as New ShanjeControlService

str = objTemp.GetWebsiteDiskSpaceUsedMB(WCPLogin, WCPPassword, APIKey, WebsiteName)

Variables Defined
WCPLogin - your Shanje login ID
WCPPassword - your Shanje login Password
APIKey - your Shanje APIKey
WebsiteName - hostname; can be or (do not include www.)

Download Complete Example
ASP.NET GetWebsiteDiskSpaceUsedMB Example