How to access C:\Program Files\… path of client PC in Asp.NET C#?

后端 未结 3 946
我寻月下人不归
我寻月下人不归 2021-01-27 05:58

I have an Asp.NET web application. I can call and run Teamviewer in my application when running on local.

I have a class for call and run TeamViewer.

cla         


        
3条回答
  •  不知归路
    2021-01-27 06:52

    There seems to be misunderstanding of how web works :) You need to run something on client side - not on server side. ASP.NET executes just on server side (and passes back just html markup that is interpreted by browser). For this kind of work you need a thick client - see @Damien_The_Unbeliever comment regarding security - LOL btw. Since you're already in .NET world, I recommend using ClickOnce (.NET technology that allows you to install applications from web url with just one click - provided your clients have .NET framework installed) and make small app that will do the "thick client" job for you.

提交回复
热议问题