Settings and activity
7 results found
-
18 votes
An error occurred while saving the comment Goyuix shared this idea · -
10 votes
An error occurred while saving the comment Goyuix commentedWhen I add in the user/pass in the existing configuration it works, though my password changes often enough it is obnoxious to need to update it there where my proxy supports NTLM auth automatically.
An error occurred while saving the comment Goyuix commentedIt would be nice to not have to enter the credentials at all - for example, consider the following code:
var wc = new System.Net.WebClient();
wc.Proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
wc.DownloadString("http://linqpad.net").Dump();This works like a champ behind our proxy that requires authentication. Without setting up the Proxy Crendentials property, it throws a WebException with the message "The remote server returned an error: (407) Proxy Authentication Required."
Maybe do a check for a 407, and try the default credentials but still allow for custom proxies / credentials through the UI?
Goyuix supported this idea · -
288 votesGoyuix supported this idea ·
-
258 votes
-
16 votes
-
3 votesGoyuix supported this idea ·
-
3 votes
An error occurred while saving the comment Goyuix commentedThere is an offline activation option - https://www.linqpad.net/licensing/offline.aspx
This code also seems to work properly, if you don't mind using P/Invoke
[DllImport("shell32.dll")] public static extern bool IsUserAnAdmin();
void Main()
{
IsUserAnAdmin().Dump();
}
Thanks StackOverflow: http://stackoverflow.com/questions/1089046/in-net-c-test-if-user-is-an-administrative-user