Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I am using web browser control. And I want to decide is this file pdf or html document.

So I want to acces Application.Type. But I don't know how do this.

This what I want to acces's preview
C#
((ExtendedWebBrowser2.ExtendedWebBrowser)sender).Application.Type

I tried following code but it isn't work?

How can I do?
Posted
Updated 21-Jan-16 0:22am
v2

1 solution

I solved my problem
C#
dynamic tarayici_app = ((ExtendedWebBrowser2.ExtendedWebBrowser)sender).Application;
string appFormat = tarayici_app.Type;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900