System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName
More Related Contents:
- What’s wrong with using Thread.Abort()
- C# Interfaces. Implicit implementation versus Explicit implementation
- Using LINQ to remove elements from a List
- How to start a Process as administrator mode in C# [duplicate]
- Performance differences between debug and release builds
- Coercing floating-point to be deterministic in .NET?
- How to detect Windows shutdown or logoff
- Converting Bitmap PixelFormats in C#
- Clipboard.GetText returns null (empty string)
- How does inheritance work for Attributes?
- How to mark a method as obsolete or deprecated?
- Don’t stop debugger at THAT exception when it’s thrown and caught
- Updating an ObservableCollection in a separate thread
- How to remove new line characters from a string?
- Generating .NET crash dumps automatically
- ConfigurationManager.AppSettings – How to modify and save?
- BUG: Can’t choose dates on a DatePicker that fall outside a floating VSTO Add-In
- How do I copy the contents of a String to the clipboard in C#? [duplicate]
- OWIN’s GetExternalLoginInfoAsync Always Returns null
- C#: how to take a screenshot of a portion of screen
- Performing a mouse click without moving cursor
- Proper way to start and fire-and-forget asynchronous calls?
- System.Threading.Timer in C# it seems to be not working. It runs very fast every 3 second
- ArgumentOutOfRangeException on initialized List
- Guidelines For Dispose() and Ninject
- How to check if a DLL file is registered?
- Hide some properties in PropertyGrid at run-time
- .net connection pooling
- Repository Pattern, POCO, and Business Entities
- Garbage Collection not happening even when needed