Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Apr 21, 2012 5:12:47 AM |
Updated | Apr 21, 2012 11:40:51 AM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Alexey Kuptsov (alexey.kuptsov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
using System.Diagnostics; using System.Linq; class Program { static void Main() { ProcessModuleCollection modules = Process.GetCurrentProcess().Modules; ProcessModule module = modules.Cast<ProcessModule>().First(); modules.Contains(module); } }