System.Diagnostics.Process.GetCurrentProcess C# (CSharp) 메소드

GetCurrentProcess() 공개 정적인 메소드

public static GetCurrentProcess ( ) : System.Diagnostics.Process
리턴 System.Diagnostics.Process
        public static System.Diagnostics.Process GetCurrentProcess() { throw null; }
        public static System.Diagnostics.Process GetProcessById(int processId) { throw null; }

Usage Example

예제 #1
0
        public static Version GetVisualStudioVersion()
        {
            Process         process = Process.GetCurrentProcess();
            FileVersionInfo v       = process.MainModule.FileVersionInfo;

            return(new Version(v.ProductMajorPart, v.ProductMinorPart, v.ProductBuildPart));
        }
All Usage Examples Of System.Diagnostics.Process::GetCurrentProcess