WinFormsComInterop
WinFormsComInterop copied to clipboard
Having trouble using ManagementObjectSearcher to get hard drive information
As the title says, when I try to get hard drive information using System.Management, I get the error System.TypeInitializationException: 'The type initializer for 'System.Management.ManagementPath' threw an exception.'
And is there any way to make the app take up more ram without crashing?