15,905,420 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 10875659 (Top 5 by date)
Member 10875659
26-Feb-15 12:55pm
View
I think the problem is because of the website security, because my code works for other sites. I also used webbrowser control to browse the site ,but it failed!!
Member 10875659
24-Feb-15 17:55pm
View
For example I used this code:
HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create("http://www.tsetmc.com/Loader.aspx?ParTree=15");
myRequest.Method = "GET";
WebResponse myResponse = myRequest.GetResponse();
StreamReader sr = new StreamReader(myResponse.GetResponseStream(), System.Text.Encoding.UTF8);
string result = sr.ReadToEnd();
sr.Close();
myResponse.Close();
Console.WriteLine(result.ToString());
and some of other types of code but they return bad symbols. And also I used webbrowser control in c# to navigate the site, which is written by asp, but it couldn't browse the website!!
Member 10875659
24-Feb-15 9:37am
View
The problem is that I can't access to this site. I think it's because of website security. Because I tested my code on the other Arabic website and worked.
Member 10875659
24-Feb-15 8:46am
View
I tried your solution but still it doesn't work! and I got bad symbols
Member 10875659
24-Feb-15 7:35am
View
I'm not very well in web application, I just need two number of mentioned site to use it in my application. I don't know what is the REST Api.