Author Topic: I can't switch profiles  (Read 3051 times)

wiksa

  • Newbie
  • *
  • Posts: 2
I can't switch profiles
« on: March 17, 2024, 03:28:55 PM »
Hello,

I am developing a plugin that should automatically switch profiles. I tried the two ways to do it according to the documentation.

With a string :

Code: [Select]
vaProxy.SwitchTo("My Profile");
With the Guid method. I got the guid from the expanded vap file :

Code: [Select]
Guid profile = new Guid("b7bb5371841347689100b236559f66cc");
vaProxy.SwitchTo(profile);

None of them work. What am I missing ?



wiksa

  • Newbie
  • *
  • Posts: 2
Re: I can't switch profiles
« Reply #1 on: March 17, 2024, 03:49:17 PM »
I found the solution and it was easy...

Code: [Select]
vaProxy.Profile.SwitchTo("My Profile");
The answer was a few post below... sorry for that.