How to get the current process in VB.NET

1 Answer

0 votes
Module Module1

    Sub Main()

        Dim process As Process = Process.GetCurrentProcess()

        Console.WriteLine(process)

    End Sub

End Module

' run:
' 
' System.Diagnostics.Process (ConsoleApplication_Visual_Basic)

 



answered Aug 11, 2018 by avibootz

Related questions

1 answer 272 views
1 answer 355 views
1 answer 310 views
310 views asked Aug 11, 2018 by avibootz
1 answer 172 views
1 answer 212 views
...