Start VPN from C# or script

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Start VPN from C# or script

Not applicable

Hello!

Is there a way to instruct the Windows GlobalProtect Agent 2.0.3-5 (that ist completely configured for the current Windows User) to Start the VPN from C# (or from within a script)?

Thanks for any Ideas,

Jürgen.

3 REPLIES 3

L6 Presenter

Hi Juergen,

As of now there is no way, but you may want to try following stuff. I hyave never tried this, its just a possible solution.

1. Shutdown PANGPS process with C#

2. Then start PANGPS process with C# whenever you need. That should start GP client and everything should work well.

That should start GP as per your requirement.

Regards,

Hardik Shah

Hi Hardik,

thanks a lot for your quick answer. With your hint we could manage to do what we wanted to do 🙂

Regards,

Juergen.

Wow !!!! I am so happy ...

  • 2609 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!