Click here to Skip to main content
15,922,584 members
Home / Discussions / C#
   

C#

 
AnswerRe: Code to convert Pin
Pete O'Hanlon19-Dec-06 1:21
mvePete O'Hanlon19-Dec-06 1:21 
GeneralRe: Code to convert Pin
quiteSmart19-Dec-06 1:28
quiteSmart19-Dec-06 1:28 
GeneralRe: Code to convert Pin
Pete O'Hanlon19-Dec-06 2:33
mvePete O'Hanlon19-Dec-06 2:33 
GeneralRe: Code to convert Pin
quiteSmart19-Dec-06 2:39
quiteSmart19-Dec-06 2:39 
GeneralRe: Code to convert Pin
ednrgc19-Dec-06 2:34
ednrgc19-Dec-06 2:34 
QuestionHow to modify a PDF formular, which is already created. [modified] Pin
shfaye19-Dec-06 0:49
shfaye19-Dec-06 0:49 
AnswerRe: How to modify a PDF formular, which is already created. [modified] Pin
shfaye19-Dec-06 0:56
shfaye19-Dec-06 0:56 
QuestionWindows Service User Account Credentials Pin
ekynox19-Dec-06 0:46
ekynox19-Dec-06 0:46 
hi folks,

I have been working on a windows service application which monitors a specific mailbox on an exchange server. The application works as intended with one exception. The exception being the storage of the username and password that will be accessing the mailbox. Currently, as a crude method to test my application, I stored the username and password in an encrypted format in an xml file.

I had the idea that the user account I specified to run the windows service application can be used to access the mailbox provided the user has been granted access via Active Directory (which I have taken care off). By doing this allows me to ensure that the user account is in sync with AD.

The problem is at runtime how do I get the username and password of the account specified to run the windows service application to access the mailbox. I tried the Service Installer Process which has Properties to GET/SET the user name and password but this is only for install time not run time.

Any ideas as to how I can tackle this ? Or maybe what is the best practice way of doing this?

thanks
V
AnswerRe: Windows Service User Account Credentials Pin
~~~Johnny~~~19-Dec-06 2:21
~~~Johnny~~~19-Dec-06 2:21 
GeneralRe: Windows Service User Account Credentials Pin
ekynox19-Dec-06 9:45
ekynox19-Dec-06 9:45 
GeneralRe: Windows Service User Account Credentials Pin
~~~Johnny~~~19-Dec-06 9:55
~~~Johnny~~~19-Dec-06 9:55 
QuestionRegarding LineCounterAddin Pin
harryyadav19-Dec-06 0:41
harryyadav19-Dec-06 0:41 
AnswerRe: Regarding LineCounterAddin Pin
Paul Conrad25-Dec-06 18:29
professionalPaul Conrad25-Dec-06 18:29 
QuestionFiles in printer queue Pin
sujanakar18-Dec-06 23:59
sujanakar18-Dec-06 23:59 
AnswerRe: Files in printer queue [modified] Pin
althamda19-Dec-06 0:10
althamda19-Dec-06 0:10 
AnswerRe: Files in printer queue Pin
Pete O'Hanlon19-Dec-06 1:59
mvePete O'Hanlon19-Dec-06 1:59 
GeneralRe: Files in printer queue Pin
Martin#19-Dec-06 2:16
Martin#19-Dec-06 2:16 
GeneralRe: Files in printer queue Pin
Pete O'Hanlon19-Dec-06 2:44
mvePete O'Hanlon19-Dec-06 2:44 
GeneralRe: Files in printer queue Pin
Martin#19-Dec-06 2:50
Martin#19-Dec-06 2:50 
GeneralRe: Files in printer queue Pin
Pete O'Hanlon19-Dec-06 5:10
mvePete O'Hanlon19-Dec-06 5:10 
QuestionRe: Files in printer queue Pin
GrusumZA7-Mar-07 23:42
GrusumZA7-Mar-07 23:42 
QuestionHmm [modified] Pin
althamda18-Dec-06 23:50
althamda18-Dec-06 23:50 
AnswerRe: Hmm Pin
Stefan Troschuetz18-Dec-06 23:55
Stefan Troschuetz18-Dec-06 23:55 
AnswerRe: Hmm Pin
V.18-Dec-06 23:58
professionalV.18-Dec-06 23:58 
GeneralRe: Hmm Pin
althamda19-Dec-06 0:00
althamda19-Dec-06 0:00 

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.