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 277 views
1 answer 362 views
1 answer 315 views
315 views asked Aug 11, 2018 by avibootz
1 answer 178 views
1 answer 217 views
...