Click here to Skip to main content
15,925,723 members
Home / Discussions / C#
   

C#

 
GeneralRe: Read all occurances of a specific tag out of an HTML file Pin
YiXiang_8922-Mar-09 5:39
YiXiang_8922-Mar-09 5:39 
GeneralRe: Read all occurances of a specific tag out of an HTML file Pin
0x3c022-Mar-09 6:05
0x3c022-Mar-09 6:05 
Questionwindows service, login - on-event application ;) Pin
orescik22-Mar-09 4:25
orescik22-Mar-09 4:25 
AnswerRe: windows service, login - on-event application ;) Pin
PIEBALDconsult22-Mar-09 4:39
mvePIEBALDconsult22-Mar-09 4:39 
GeneralRe: windows service, login - on-event application ;) Pin
orescik22-Mar-09 4:43
orescik22-Mar-09 4:43 
GeneralRe: windows service, login - on-event application ;) Pin
PIEBALDconsult22-Mar-09 15:23
mvePIEBALDconsult22-Mar-09 15:23 
AnswerRe: windows service, login - on-event application ;) Pin
0x3c022-Mar-09 4:45
0x3c022-Mar-09 4:45 
AnswerRe: windows service, login - on-event application ;) Pin
Yusuf22-Mar-09 5:06
Yusuf22-Mar-09 5:06 
orescik wrote:
when you turn on computer you see windows login screen, to the computer is connected smartcard reader, when you put the card it checks it. When it is ok windows login on a specific user.


I recommend first you read and understand Winlogon and GINA[^]. The only way you can do what you want is replacing some of the Winlogon functionality. You many want to think hard if you really want this. It is doable but not easy task.


orescik wrote:
or alternative version:
you login as a user, application in c# opens adn blocks mouse and keybord (fullscreen application i think. It asks user for a smart card and after checking it it unblocks computer.


This seems better choice than the first one. But Windows is preemptive OS. Are you sure you want to take full control just to block the user?

Instead, what I would do is, when your application starts, the first thing you want to do is check for smart card presence, then read whatever you want to read and validate your input. When every thing is ok, allow the application to run, otherwise exit the application gracefully. This way you are confined to your application, your application become portable and you don't have to replace Windows functionality.

Here this may help you get started with smart card APIs[^]

just my 2 cents

Yusuf

Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]

Questionpartition cloning Pin
LordZoster22-Mar-09 4:13
LordZoster22-Mar-09 4:13 
AnswerRe: partition cloning Pin
Yusuf22-Mar-09 5:08
Yusuf22-Mar-09 5:08 
GeneralRe: partition cloning Pin
LordZoster22-Mar-09 5:18
LordZoster22-Mar-09 5:18 
QuestionJava -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 3:00
wgarnett22-Mar-09 3:00 
AnswerRe: Java -> C# Programming Problem , plz help ! Pin
SeMartens22-Mar-09 3:32
SeMartens22-Mar-09 3:32 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 4:30
wgarnett22-Mar-09 4:30 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 4:37
0x3c022-Mar-09 4:37 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 5:04
wgarnett22-Mar-09 5:04 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
Yusuf22-Mar-09 5:15
Yusuf22-Mar-09 5:15 
AnswerRe: Java -> C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 5:55
0x3c022-Mar-09 5:55 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
SeMartens22-Mar-09 5:42
SeMartens22-Mar-09 5:42 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 6:24
wgarnett22-Mar-09 6:24 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 6:31
wgarnett22-Mar-09 6:31 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 6:48
0x3c022-Mar-09 6:48 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 7:08
wgarnett22-Mar-09 7:08 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 8:33
0x3c022-Mar-09 8:33 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 15:12
wgarnett22-Mar-09 15:12 

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.