public void SetTool(bool wantSet)
{
string tool = null;
if (wantSet)
{
AssemblyName exe = Assembly.GetEntryAssembly().GetName();
AssemblyName rtp = Assembly.GetExecutingAssembly().GetName();
tool = exe.Name + " v" + exe.Version + ", ";
tool += rtp.Name + " v" + rtp.Version;
}
SetProperty(tool, SDESType.TOOL);
}