webbrowser control acts different than IE c#
up vote
0
down vote
favorite
So I've got my WebBrowser application which is constantly accessing website to do some stuff..
The problem is at some point this website is starting to be unavailable to my WebBrowser but I can still access it from IE.
It is related to some punishment from this website's "security algorithms?", but I wonder why I can access it with IE while my WebBrowser is "banned"? I tried to clear cache, cookies(programatically), change my IP by HideMyAss or TunnelBear but no results. I've also forced my WebBrowser to use the latest IE version. Results are I can't visit this website for some time via my webbrowser, but I can via IE..
int BrowserVer, RegVal;
using (WebBrowser Wb = new WebBrowser())
BrowserVer = Wb.Version.Major;
// set the appropriate IE version
if (BrowserVer >= 11)
RegVal = 11001;
else if (BrowserVer == 10)
RegVal = 10001;
else if (BrowserVer == 9)
RegVal = 9999;
else if (BrowserVer == 8)
RegVal = 8888;
else
RegVal = 7000;
// set the actual key
using (RegistryKey Key = Registry.CurrentUser.CreateSubKey(@"SOFTWAREMicrosoftInternet ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION", RegistryKeyPermissionCheck.ReadWriteSubTree))
if (Key.GetValue(System.Diagnostics.Process.GetCurrentProcess().ProcessName + ".exe") == null)
Key.SetValue(System.Diagnostics.Process.GetCurrentProcess().ProcessName + ".exe", RegVal, RegistryValueKind.DWord);
How this website recognizes my webbrowser control? Is it anything more that I can clear/dispose to be not recognized?
c# internet-explorer caching cookies webbrowser-control
add a comment |
up vote
0
down vote
favorite
So I've got my WebBrowser application which is constantly accessing website to do some stuff..
The problem is at some point this website is starting to be unavailable to my WebBrowser but I can still access it from IE.
It is related to some punishment from this website's "security algorithms?", but I wonder why I can access it with IE while my WebBrowser is "banned"? I tried to clear cache, cookies(programatically), change my IP by HideMyAss or TunnelBear but no results. I've also forced my WebBrowser to use the latest IE version. Results are I can't visit this website for some time via my webbrowser, but I can via IE..
int BrowserVer, RegVal;
using (WebBrowser Wb = new WebBrowser())
BrowserVer = Wb.Version.Major;
// set the appropriate IE version
if (BrowserVer >= 11)
RegVal = 11001;
else if (BrowserVer == 10)
RegVal = 10001;
else if (BrowserVer == 9)
RegVal = 9999;
else if (BrowserVer == 8)
RegVal = 8888;
else
RegVal = 7000;
// set the actual key
using (RegistryKey Key = Registry.CurrentUser.CreateSubKey(@"SOFTWAREMicrosoftInternet ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION", RegistryKeyPermissionCheck.ReadWriteSubTree))
if (Key.GetValue(System.Diagnostics.Process.GetCurrentProcess().ProcessName + ".exe") == null)
Key.SetValue(System.Diagnostics.Process.GetCurrentProcess().ProcessName + ".exe", RegVal, RegistryValueKind.DWord);
How this website recognizes my webbrowser control? Is it anything more that I can clear/dispose to be not recognized?
c# internet-explorer caching cookies webbrowser-control
Can you describe what you mean by: "The problem is at some point this website is starting to be unavailable to my WebBrowser but I can still access it from IE"
– Flydog57
Nov 5 at 19:40
What is the error message that your web browser control tells you?
– Gabriel Luci
Nov 5 at 19:58
It is not error, it's just website shows some text like "Unauthorized access..". Seems like if you enter that page multiple times in a specified time you will be "timeouted" or "banned" for like 3-4 hours.This is not error, I'm just wondering what can I do to be not recognized as a browser that entered there like many times in last hour. imgur.com/a/Yby9Da2
– KKKk
Nov 5 at 20:47
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
So I've got my WebBrowser application which is constantly accessing website to do some stuff..
The problem is at some point this website is starting to be unavailable to my WebBrowser but I can still access it from IE.
It is related to some punishment from this website's "security algorithms?", but I wonder why I can access it with IE while my WebBrowser is "banned"? I tried to clear cache, cookies(programatically), change my IP by HideMyAss or TunnelBear but no results. I've also forced my WebBrowser to use the latest IE version. Results are I can't visit this website for some time via my webbrowser, but I can via IE..
int BrowserVer, RegVal;
using (WebBrowser Wb = new WebBrowser())
BrowserVer = Wb.Version.Major;
// set the appropriate IE version
if (BrowserVer >= 11)
RegVal = 11001;
else if (BrowserVer == 10)
RegVal = 10001;
else if (BrowserVer == 9)
RegVal = 9999;
else if (BrowserVer == 8)
RegVal = 8888;
else
RegVal = 7000;
// set the actual key
using (RegistryKey Key = Registry.CurrentUser.CreateSubKey(@"SOFTWAREMicrosoftInternet ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION", RegistryKeyPermissionCheck.ReadWriteSubTree))
if (Key.GetValue(System.Diagnostics.Process.GetCurrentProcess().ProcessName + ".exe") == null)
Key.SetValue(System.Diagnostics.Process.GetCurrentProcess().ProcessName + ".exe", RegVal, RegistryValueKind.DWord);
How this website recognizes my webbrowser control? Is it anything more that I can clear/dispose to be not recognized?
c# internet-explorer caching cookies webbrowser-control
So I've got my WebBrowser application which is constantly accessing website to do some stuff..
The problem is at some point this website is starting to be unavailable to my WebBrowser but I can still access it from IE.
It is related to some punishment from this website's "security algorithms?", but I wonder why I can access it with IE while my WebBrowser is "banned"? I tried to clear cache, cookies(programatically), change my IP by HideMyAss or TunnelBear but no results. I've also forced my WebBrowser to use the latest IE version. Results are I can't visit this website for some time via my webbrowser, but I can via IE..
int BrowserVer, RegVal;
using (WebBrowser Wb = new WebBrowser())
BrowserVer = Wb.Version.Major;
// set the appropriate IE version
if (BrowserVer >= 11)
RegVal = 11001;
else if (BrowserVer == 10)
RegVal = 10001;
else if (BrowserVer == 9)
RegVal = 9999;
else if (BrowserVer == 8)
RegVal = 8888;
else
RegVal = 7000;
// set the actual key
using (RegistryKey Key = Registry.CurrentUser.CreateSubKey(@"SOFTWAREMicrosoftInternet ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION", RegistryKeyPermissionCheck.ReadWriteSubTree))
if (Key.GetValue(System.Diagnostics.Process.GetCurrentProcess().ProcessName + ".exe") == null)
Key.SetValue(System.Diagnostics.Process.GetCurrentProcess().ProcessName + ".exe", RegVal, RegistryValueKind.DWord);
How this website recognizes my webbrowser control? Is it anything more that I can clear/dispose to be not recognized?
c# internet-explorer caching cookies webbrowser-control
c# internet-explorer caching cookies webbrowser-control
asked Nov 5 at 19:38
KKKk
388
388
Can you describe what you mean by: "The problem is at some point this website is starting to be unavailable to my WebBrowser but I can still access it from IE"
– Flydog57
Nov 5 at 19:40
What is the error message that your web browser control tells you?
– Gabriel Luci
Nov 5 at 19:58
It is not error, it's just website shows some text like "Unauthorized access..". Seems like if you enter that page multiple times in a specified time you will be "timeouted" or "banned" for like 3-4 hours.This is not error, I'm just wondering what can I do to be not recognized as a browser that entered there like many times in last hour. imgur.com/a/Yby9Da2
– KKKk
Nov 5 at 20:47
add a comment |
Can you describe what you mean by: "The problem is at some point this website is starting to be unavailable to my WebBrowser but I can still access it from IE"
– Flydog57
Nov 5 at 19:40
What is the error message that your web browser control tells you?
– Gabriel Luci
Nov 5 at 19:58
It is not error, it's just website shows some text like "Unauthorized access..". Seems like if you enter that page multiple times in a specified time you will be "timeouted" or "banned" for like 3-4 hours.This is not error, I'm just wondering what can I do to be not recognized as a browser that entered there like many times in last hour. imgur.com/a/Yby9Da2
– KKKk
Nov 5 at 20:47
Can you describe what you mean by: "The problem is at some point this website is starting to be unavailable to my WebBrowser but I can still access it from IE"
– Flydog57
Nov 5 at 19:40
Can you describe what you mean by: "The problem is at some point this website is starting to be unavailable to my WebBrowser but I can still access it from IE"
– Flydog57
Nov 5 at 19:40
What is the error message that your web browser control tells you?
– Gabriel Luci
Nov 5 at 19:58
What is the error message that your web browser control tells you?
– Gabriel Luci
Nov 5 at 19:58
It is not error, it's just website shows some text like "Unauthorized access..". Seems like if you enter that page multiple times in a specified time you will be "timeouted" or "banned" for like 3-4 hours.This is not error, I'm just wondering what can I do to be not recognized as a browser that entered there like many times in last hour. imgur.com/a/Yby9Da2
– KKKk
Nov 5 at 20:47
It is not error, it's just website shows some text like "Unauthorized access..". Seems like if you enter that page multiple times in a specified time you will be "timeouted" or "banned" for like 3-4 hours.This is not error, I'm just wondering what can I do to be not recognized as a browser that entered there like many times in last hour. imgur.com/a/Yby9Da2
– KKKk
Nov 5 at 20:47
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
How this website recognizes my webbrowser control? Is it anything more
that I can clear/dispose to be not recognized?
You could check the HTTP request when using IE and browser control access the website, and compare the request URL to check whether it append a query string to the URL.
Besides, you could also refer to this thread and check whether it's using property to detect if web page opened from WebBrowser control.
Thanks for reply, I think changing user-agent will do the trick, however I haven't checked it yet.
– KKKk
Nov 7 at 17:51
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
How this website recognizes my webbrowser control? Is it anything more
that I can clear/dispose to be not recognized?
You could check the HTTP request when using IE and browser control access the website, and compare the request URL to check whether it append a query string to the URL.
Besides, you could also refer to this thread and check whether it's using property to detect if web page opened from WebBrowser control.
Thanks for reply, I think changing user-agent will do the trick, however I haven't checked it yet.
– KKKk
Nov 7 at 17:51
add a comment |
up vote
1
down vote
How this website recognizes my webbrowser control? Is it anything more
that I can clear/dispose to be not recognized?
You could check the HTTP request when using IE and browser control access the website, and compare the request URL to check whether it append a query string to the URL.
Besides, you could also refer to this thread and check whether it's using property to detect if web page opened from WebBrowser control.
Thanks for reply, I think changing user-agent will do the trick, however I haven't checked it yet.
– KKKk
Nov 7 at 17:51
add a comment |
up vote
1
down vote
up vote
1
down vote
How this website recognizes my webbrowser control? Is it anything more
that I can clear/dispose to be not recognized?
You could check the HTTP request when using IE and browser control access the website, and compare the request URL to check whether it append a query string to the URL.
Besides, you could also refer to this thread and check whether it's using property to detect if web page opened from WebBrowser control.
How this website recognizes my webbrowser control? Is it anything more
that I can clear/dispose to be not recognized?
You could check the HTTP request when using IE and browser control access the website, and compare the request URL to check whether it append a query string to the URL.
Besides, you could also refer to this thread and check whether it's using property to detect if web page opened from WebBrowser control.
answered Nov 6 at 7:33
Dillion
27413
27413
Thanks for reply, I think changing user-agent will do the trick, however I haven't checked it yet.
– KKKk
Nov 7 at 17:51
add a comment |
Thanks for reply, I think changing user-agent will do the trick, however I haven't checked it yet.
– KKKk
Nov 7 at 17:51
Thanks for reply, I think changing user-agent will do the trick, however I haven't checked it yet.
– KKKk
Nov 7 at 17:51
Thanks for reply, I think changing user-agent will do the trick, however I haven't checked it yet.
– KKKk
Nov 7 at 17:51
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53161089%2fwebbrowser-control-acts-different-than-ie-c-sharp%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Can you describe what you mean by: "The problem is at some point this website is starting to be unavailable to my WebBrowser but I can still access it from IE"
– Flydog57
Nov 5 at 19:40
What is the error message that your web browser control tells you?
– Gabriel Luci
Nov 5 at 19:58
It is not error, it's just website shows some text like "Unauthorized access..". Seems like if you enter that page multiple times in a specified time you will be "timeouted" or "banned" for like 3-4 hours.This is not error, I'm just wondering what can I do to be not recognized as a browser that entered there like many times in last hour. imgur.com/a/Yby9Da2
– KKKk
Nov 5 at 20:47