The getVersion( ) method returns the current version number of the NetServices object (currently 1.0). It can be used to ensure backward compatibility and compatibility with future versions if the methods or properties of the object change in future implementations .
Example
The following code shows the basic syntax of the getVersion( ) method: