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 177 views
1 answer 284 views
1 answer 232 views
232 views asked Aug 11, 2018 by avibootz
1 answer 84 views
1 answer 132 views
...