11 references to MainModule
System (2)
net\System\Net\NetRegistryConfiguration.cs (1)
173ProcessModule module = currentProcess.MainModule;
services\monitoring\system\diagnosticts\Process.cs (1)
874String mainModuleName = MainModule.ModuleName;
System.Web (5)
Configuration\MachineKeySection.cs (1)
322appName = System.Diagnostics.Process.GetCurrentProcess().MainModule.ModuleName;
DataAccess\SqlConnectionHelper.cs (1)
108ProcessModule pm = (p != null ? p.MainModule : null);
Security\AuthStoreRoleProvider.cs (1)
549ProcessModule pm = (p != null ? p.MainModule : null);
Security\Cryptography\MachineKeyMasterKeyProvider.cs (1)
47_applicationName = HttpRuntime.AppDomainAppVirtualPath ?? Process.GetCurrentProcess().MainModule.ModuleName;
Util\SecUtil.cs (1)
37MainModule.ModuleName;
System.Windows.Forms (3)
winforms\Managed\System\WinForms\Application.cs (3)
1406if (String.Equals(process.MainModule.ModuleName, IEEXEC, StringComparison.OrdinalIgnoreCase)) 1422if (String.Equals(clrPath + "\\" + IEEXEC, process.MainModule.FileName, StringComparison.OrdinalIgnoreCase)) 1430Process.Start(process.MainModule.FileName, launchUrl);
System.Workflow.Runtime (1)
PerformanceCounterManager.cs (1)
235ProcessModule mainModule = process.MainModule;