You are viewing limited content. For full access, please sign in.

Question

Question

SDK - C# - Repository Access - Get Server Version returning blank string

SDK
asked on January 20, 2014

I am trying to use the Server property to return a string with the current server version. Does anyone know why it is returning a blank string?

 

            //Get local server
            Server lfserver = new Server("localhost");

            //Show version of local server
            MessageBox.Show(lfserver.Version);

 

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on January 20, 2014

RA doesn't actually retrieve a server's properties until you first call Refresh on your server object.

1 0

Replies

replied on January 22, 2014

Thanks, that's all I needed!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.