P
-pb-
Hi,
I am tring to map the network drive (C$) in c# from ASP.NET page and it
seems it is not working...What I really want is to delete the file from
the netwrok computer. This file is present in the default share C$.
I search the google and what I got is that this is not possible to do
in c# from web as it requires a user with appropriate rights, Based on
this I have created a new user and added him into the Administrators
group and use the Impersonate in the web.config but after this also it
is not wroking at all. Same thig is working from C# consol application
or windows application.
I have used Process object of System.IO namespace to use the net use
function and I have also tried WMI Management Class and both are not
working
Can anyone suggest where I am going wrong....
Help is much appriciated...this has taken by 4 days and still i have
not finished yet.
regards,
-pb-
I am tring to map the network drive (C$) in c# from ASP.NET page and it
seems it is not working...What I really want is to delete the file from
the netwrok computer. This file is present in the default share C$.
I search the google and what I got is that this is not possible to do
in c# from web as it requires a user with appropriate rights, Based on
this I have created a new user and added him into the Administrators
group and use the Impersonate in the web.config but after this also it
is not wroking at all. Same thig is working from C# consol application
or windows application.
I have used Process object of System.IO namespace to use the net use
function and I have also tried WMI Management Class and both are not
working
Can anyone suggest where I am going wrong....
Help is much appriciated...this has taken by 4 days and still i have
not finished yet.
regards,
-pb-