Click here to Skip to main content
15,921,841 members
Home / Discussions / C#
   

C#

 
Questionhow to access bookmark in C# web application Pin
narendrakumarp20-Dec-05 2:54
narendrakumarp20-Dec-05 2:54 
QuestionHow to access a password protected UNC address? Pin
Zishan Haider20-Dec-05 2:42
Zishan Haider20-Dec-05 2:42 
AnswerRe: How to access a password protected UNC address? Pin
narendrakumarp20-Dec-05 2:57
narendrakumarp20-Dec-05 2:57 
GeneralRe: How to access a password protected UNC address? Pin
Zishan Haider20-Dec-05 3:08
Zishan Haider20-Dec-05 3:08 
GeneralRe: How to access a password protected UNC address? Pin
Judah Gabriel Himango20-Dec-05 3:58
sponsorJudah Gabriel Himango20-Dec-05 3:58 
AnswerRe: How to access a password protected UNC address? Pin
Dave Kreskowiak20-Dec-05 5:20
mveDave Kreskowiak20-Dec-05 5:20 
GeneralRe: How to access a password protected UNC address? Pin
Zishan Haider20-Dec-05 6:30
Zishan Haider20-Dec-05 6:30 
GeneralRe: How to access a password protected UNC address? Pin
Dave Kreskowiak20-Dec-05 18:31
mveDave Kreskowiak20-Dec-05 18:31 
Zishan Haider wrote:
what credentials are you talking about


The credentials you used when you logged into Windows on your machine...Username and password. When you try to connect to another Windows machine, those credentials are sent to the remote machine.

If that machine isn't a member of the same domain (if you have one!) as your machine, then it has to rely on its own user accounts to authenticate you. If your username doesn't exist on the remote machine, it'll ask you for an account and password that it knows about, because it doesn't trust the account information it's getting from your machine.

Now, you only have to log into a remote machine once and it'll remember who you are for as long as you are logged into your machine. There are many different ways to get an authenticated connection to a remote Windows machine. The most common is mapping a drive letter to a share on the remote machine. You have to supply a username and password to the remote machine if it doesn't trust you. Since you can't just connect to a remote share without first authenticating to the remote machine, you need to authenticate an account with the remote machine. You can't do that by just connecting to a remote share. There's no way to enter the account information. But, you CAN do it through code if your code maps a drive to the share first. You have to supply the function For example...[^]


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: How to access a password protected UNC address? Pin
Zishan Haider22-Dec-05 1:52
Zishan Haider22-Dec-05 1:52 
QuestionFolder View(Arrange Icons By) Pin
rakesh_nits20-Dec-05 1:34
rakesh_nits20-Dec-05 1:34 
QuestionExecuting Javascript based on a condition in codebehind Pin
Krugger40420-Dec-05 1:01
Krugger40420-Dec-05 1:01 
AnswerRe: Executing Javascript based on a condition in codebehind Pin
Guffa20-Dec-05 1:13
Guffa20-Dec-05 1:13 
GeneralRe: Executing Javascript based on a condition in codebehind Pin
Krugger40420-Dec-05 1:26
Krugger40420-Dec-05 1:26 
AnswerRe: Executing Javascript based on a condition in codebehind Pin
Guffa20-Dec-05 2:50
Guffa20-Dec-05 2:50 
Questionerror in Web.UI-missing assembly Pin
kal13na1320-Dec-05 0:42
kal13na1320-Dec-05 0:42 
AnswerRe: error in Web.UI-missing assembly Pin
Colin Angus Mackay20-Dec-05 0:59
Colin Angus Mackay20-Dec-05 0:59 
GeneralRe: error in Web.UI-missing assembly Pin
kal13na1320-Dec-05 1:25
kal13na1320-Dec-05 1:25 
QuestionCalling a button event from another page in c# Pin
Malayil alex19-Dec-05 23:45
Malayil alex19-Dec-05 23:45 
AnswerRe: Calling a button event from another page in c# Pin
Colin Angus Mackay20-Dec-05 0:49
Colin Angus Mackay20-Dec-05 0:49 
GeneralRe: Calling a button event from another page in c# Pin
javiersolis198320-Dec-05 4:17
javiersolis198320-Dec-05 4:17 
QuestionFind text in a string Pin
hellamasta19-Dec-05 22:53
hellamasta19-Dec-05 22:53 
AnswerRe: Find text in a string Pin
J4amieC19-Dec-05 23:27
J4amieC19-Dec-05 23:27 
GeneralRe: Find text in a string Pin
hellamasta19-Dec-05 23:33
hellamasta19-Dec-05 23:33 
QuestionCheckedListBox data binding Pin
Chals19-Dec-05 22:48
Chals19-Dec-05 22:48 
QuestionCrystal Reports distribution Pin
SherKar19-Dec-05 21:10
SherKar19-Dec-05 21:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.