GetNotesVersion fails. Is there any other API exist to get domino version

Hi,

I have used c/c++ API GetNotesVersion(…) to get verion no of domino server, But its failing with error msg:“server is down…”.

I have checked properly server is up and running.

Can any one tell the reason why its failing or provide other way to access domino version.