// Full-name, e.g. MyApplication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null string exeAssembly = Assembly.GetEntryAssembly().FullName; // or just the "assembly name" part (e.g. "MyApplication") string exeAssemblyName = Assembly.GetEntryAssembly().GetName().Name;
No comments:
Post a Comment