Click here to Skip to main content
15,902,114 members
Home / Discussions / C#
   

C#

 
GeneralRe: base method Pin
George_George29-Oct-08 18:44
George_George29-Oct-08 18:44 
GeneralRe: base method Pin
User 665829-Oct-08 20:30
User 665829-Oct-08 20:30 
GeneralRe: base method Pin
George_George30-Oct-08 2:55
George_George30-Oct-08 2:55 
GeneralRe: base method Pin
User 665830-Oct-08 6:20
User 665830-Oct-08 6:20 
GeneralRe: base method Pin
George_George31-Oct-08 0:04
George_George31-Oct-08 0:04 
GeneralRe: base method Pin
N a v a n e e t h2-Nov-08 6:10
N a v a n e e t h2-Nov-08 6:10 
QuestionSecurity consideration of Windows Service written in .NET Pin
Zerox MXI29-Oct-08 15:13
Zerox MXI29-Oct-08 15:13 
AnswerRe: Security consideration of Windows Service written in .NET Pin
#realJSOP29-Oct-08 23:39
professional#realJSOP29-Oct-08 23:39 
If the user has admin rights, they can modify the status of any running service.


Zerox MXI wrote:
can I write a prompt dialog to have the user input some sort of password before it shuts down?


Services don't have a user interface. You'd probably have to write a system tray application that provides the interface, and the user then has to use that application to stop the service. In order to force this, you'd have to write your service so that it can only be stopped via the system tray application.

All this is totally outside the realm of "standard practice", so consider carefully before you do this.


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


QuestionMove the unmovable Pin
ltheonel29-Oct-08 13:53
ltheonel29-Oct-08 13:53 
AnswerRe: Move the unmovable Pin
N a v a n e e t h29-Oct-08 18:29
N a v a n e e t h29-Oct-08 18:29 
GeneralRe: Move the unmovable Pin
ltheonel29-Oct-08 23:09
ltheonel29-Oct-08 23:09 
GeneralRe: Move the unmovable Pin
jas0n231-Nov-08 12:15
jas0n231-Nov-08 12:15 
GeneralRe: Move the unmovable Pin
ltheonel6-Nov-08 12:45
ltheonel6-Nov-08 12:45 
GeneralRe: Move the unmovable Pin
jas0n236-Nov-08 16:17
jas0n236-Nov-08 16:17 
GeneralRe: Move the unmovable Pin
ltheonel9-Nov-08 8:33
ltheonel9-Nov-08 8:33 
QuestionMapping XML to "anonymous" class Pin
ezazazel29-Oct-08 12:16
ezazazel29-Oct-08 12:16 
AnswerRe: Mapping XML to "anonymous" class Pin
N a v a n e e t h29-Oct-08 18:32
N a v a n e e t h29-Oct-08 18:32 
GeneralRe: Mapping XML to "anonymous" class Pin
ezazazel29-Oct-08 19:48
ezazazel29-Oct-08 19:48 
QuestionCreating a upgrade .msi file Pin
Brad Wick29-Oct-08 9:07
Brad Wick29-Oct-08 9:07 
QuestionCheck if a file was created in PP 2003 Pin
ophirmi29-Oct-08 8:28
ophirmi29-Oct-08 8:28 
AnswerRe: Check if a file was created in PP 2003 Pin
Giorgi Dalakishvili29-Oct-08 8:43
mentorGiorgi Dalakishvili29-Oct-08 8:43 
GeneralRe: Check if a file was created in PP 2003 Pin
ophirmi30-Oct-08 0:37
ophirmi30-Oct-08 0:37 
GeneralRe: Check if a file was created in PP 2003 Pin
Giorgi Dalakishvili30-Oct-08 1:08
mentorGiorgi Dalakishvili30-Oct-08 1:08 
GeneralRe: Check if a file was created in PP 2003 Pin
ophirmi30-Oct-08 2:46
ophirmi30-Oct-08 2:46 
GeneralRe: Check if a file was created in PP 2003 Pin
Giorgi Dalakishvili30-Oct-08 2:59
mentorGiorgi Dalakishvili30-Oct-08 2:59 

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.