In reply to vinod.

Yes: You can use the GetSasMacroValue method on the SasServer class. Example:

SasServer s = new SasServer("SASApp");
string ver = s.GetSasMacroValue("SYSVER");

This will work with SAS 9.2 and later, as the SAS.Tasks.Toolkit is supported in EG 4.2 and later. So SAS 9.2 is a minimum requirement.