Dim NotepadMemory As Long Dim component1() As Process component1 = Process.GetProcessesByName("Notepad.exe") NotepadMemory = component1(0).PrivateMemorySize64 Console.WriteLine("Memory used: " & NotepadMemory & ".")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)