I am getting same version name for WSS and MOSS 2007?

Asked
Active3 hr before
Viewed126 times

2 Answers

gettingversion
90%

I am getting same version name for WSS and MOSS 2007?: stackoverflow,com/questions/5002569/… – TinTin Feb 15 '11 at 10:57 , Questions ,Thanks for contributing an answer to Stack Overflow!, Stack Overflow Public questions & answers

Example_snippet/controller/utility/_version.js/ using System; using System.Net. . .
using System;
using System.Net;

class C {
   static void Main(string[] args) {
      var uri = new Uri(args[0]);
      var wc = new WebClient();
      wc.UseDefaultCredentials = true;
      wc.DownloadString(uri);
      var sharePointVersion = wc.ResponseHeaders["MicrosoftSharePointTeamServices"];
      Console.WriteLine(sharePointVersion);
   }
}
88%

I am using the above python code to get the verion of the sharepoint verion using the site URL,,WSS:MicrosoftSharePointTeamServices: 12

Example_snippet/controller/utility/_version.js/ response = urllib2.urlopen(url. . .
response = urllib2.urlopen(url)
print response.info().getheader('MicrosoftSharePointTeamServices')