32 references to GetCurrentProcess
System (3)
compmod\system\diagnostics\TraceEventCache.cs (1)
83Process p = Process.GetCurrentProcess();
net\System\Net\NetRegistryConfiguration.cs (1)
168Process currentProcess = Process.GetCurrentProcess();
net\System\Net\UnsafeNativeMethods.cs (1)
3444if (processId == Process.GetCurrentProcess().Id)
System.AddIn (3)
System\Addin\Hosting\AddInProcess.cs (3)
145return Process.GetCurrentProcess().Id; 329if(!NativeMethods.IsWow64Process(System.Diagnostics.Process.GetCurrentProcess().Handle, ref isWow)) 361String args = String.Format(CultureInfo.InvariantCulture, "/guid:{0} /pid:{1}", guid, Process.GetCurrentProcess().Id);
System.Net (1)
net\PeerToPeer\Collaboration\Peer.cs (1)
296string path = Path.Combine( Environment.CurrentDirectory, Process.GetCurrentProcess().ProcessName + ".exe");
System.ServiceModel (5)
System\ServiceModel\Activation\Utility.cs (1)
35int processId = Process.GetCurrentProcess().Id;
System\ServiceModel\Administration\AppDomainInfo.cs (1)
32Process process = Process.GetCurrentProcess();
System\ServiceModel\Channels\PipeConnection.cs (1)
2493int pid = Process.GetCurrentProcess().Id;
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
625int myPid = Process.GetCurrentProcess().Id;
System\ServiceModel\Channels\UtilityExtension.cs (1)
45pruneInterval = TimeSpan.FromMilliseconds(PruneIntervalMilliseconds + new Random(Process.GetCurrentProcess().Id).Next(PruneIntervalMilliseconds));
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (1)
94processId = Process.GetCurrentProcess().Id;
System.ServiceModel.Internals (5)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (2)
220using (Process process = Process.GetCurrentProcess()) 236using (Process process = Process.GetCurrentProcess())
System\Runtime\Diagnostics\EventLogger.cs (3)
282using (Process process = Process.GetCurrentProcess()) 333using (Process process = Process.GetCurrentProcess()) 351using (Process process = Process.GetCurrentProcess())
System.Transactions (2)
System\Transactions\Trace\DiagnosticTrace.cs (2)
69using (Process process = Process.GetCurrentProcess()) 86using (Process process = Process.GetCurrentProcess())
System.Web (7)
Configuration\MachineKeySection.cs (1)
322appName = System.Diagnostics.Process.GetCurrentProcess().MainModule.ModuleName;
DataAccess\SqlConnectionHelper.cs (1)
107Process p = Process.GetCurrentProcess();
Management\WebEvents.cs (2)
2058s_startTime = Process.GetCurrentProcess().StartTime; 2079Process process = Process.GetCurrentProcess();
Security\AuthStoreRoleProvider.cs (1)
548Process p = Process.GetCurrentProcess();
Security\Cryptography\MachineKeyMasterKeyProvider.cs (1)
47_applicationName = HttpRuntime.AppDomainAppVirtualPath ?? Process.GetCurrentProcess().MainModule.ModuleName;
Util\SecUtil.cs (1)
36appName = System.Diagnostics.Process.GetCurrentProcess().
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
1174Process process = Process.GetCurrentProcess();
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Application.cs (2)
1404Process process = Process.GetCurrentProcess(); 1463ProcessStartInfo currentStartInfo = Process.GetCurrentProcess().StartInfo;
System.Workflow.Runtime (1)
PerformanceCounterManager.cs (1)
234Process process = Process.GetCurrentProcess();
System.WorkflowServices (1)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (1)
25Process.GetCurrentProcess().Id,