set and unset proxy in xamarin

I set and unset proxy through coding in xamarin using scripting. But in this way i got error like this: com.apple.SecurityServer: Sandbox denoed authorizing right 'system.privilege.admin' by client 'usr/bin/osascript' sandbox: osascript deny authorization right-obtain system.privilege.admin

So,You have any idea for set and unset proxy through coding without scripting in xamarin.

Posts

This discussion has been closed.