Click here to Skip to main content
15,891,253 members
Home / Discussions / C#
   

C#

 
GeneralRe: WriteFile equivalent in C# Pin
Dave Kreskowiak28-Sep-15 8:35
mveDave Kreskowiak28-Sep-15 8:35 
GeneralRe: WriteFile equivalent in C# Pin
Member 1206160028-Sep-15 9:06
Member 1206160028-Sep-15 9:06 
GeneralRe: WriteFile equivalent in C# Pin
Dave Kreskowiak28-Sep-15 12:19
mveDave Kreskowiak28-Sep-15 12:19 
GeneralRe: WriteFile equivalent in C# Pin
Member 1206160028-Sep-15 20:25
Member 1206160028-Sep-15 20:25 
GeneralRe: WriteFile equivalent in C# Pin
Member 1206160028-Sep-15 20:28
Member 1206160028-Sep-15 20:28 
GeneralRe: WriteFile equivalent in C# Pin
Eddy Vluggen28-Sep-15 5:50
professionalEddy Vluggen28-Sep-15 5:50 
GeneralRe: WriteFile equivalent in C# Pin
Member 1206160028-Sep-15 6:05
Member 1206160028-Sep-15 6:05 
GeneralRe: WriteFile equivalent in C# Pin
Eddy Vluggen28-Sep-15 13:24
professionalEddy Vluggen28-Sep-15 13:24 
user20044 wrote:
and that WriteFile can write both to USB(HASP) and file system, isn't it?
It can write to different ports as documented.

user20044 wrote:
In C# code, can't I encapsulate such that if user chooses physical hasp, I use
SerialPort class, and if not regular File methods? What do you think?
If you are trying to convert then go for the File methods. Not the regular ones, the API call that C++ executes.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: WriteFile equivalent in C# Pin
Member 1206160028-Sep-15 20:26
Member 1206160028-Sep-15 20:26 
GeneralRe: WriteFile equivalent in C# Pin
Member 1206160028-Sep-15 6:30
Member 1206160028-Sep-15 6:30 
GeneralRe: WriteFile equivalent in C# Pin
Eddy Vluggen29-Sep-15 1:22
professionalEddy Vluggen29-Sep-15 1:22 
GeneralRe: WriteFile equivalent in C# Pin
Member 1206160029-Sep-15 1:48
Member 1206160029-Sep-15 1:48 
QuestionHow internet Download manager Works? Pin
aahamdan26-Sep-15 8:05
aahamdan26-Sep-15 8:05 
AnswerRe: How internet Download manager Works? PinPopular
BillWoodruff26-Sep-15 13:21
professionalBillWoodruff26-Sep-15 13:21 
GeneralRe: How internet Download manager Works? Pin
aahamdan13-Mar-16 4:19
aahamdan13-Mar-16 4:19 
AnswerRe: How internet Download manager Works? Pin
Afzaal Ahmad Zeeshan27-Sep-15 0:54
professionalAfzaal Ahmad Zeeshan27-Sep-15 0:54 
QuestionCopare two different dataGridView Pin
Member 1121917124-Sep-15 23:04
Member 1121917124-Sep-15 23:04 
AnswerRe: Copare two different dataGridView Pin
OriginalGriff24-Sep-15 23:25
mveOriginalGriff24-Sep-15 23:25 
AnswerRe: Copare two different dataGridView Pin
J. Calhoun25-Sep-15 3:11
J. Calhoun25-Sep-15 3:11 
AnswerRe: Copare two different dataGridView Pin
Gerry Schmitz25-Sep-15 8:20
mveGerry Schmitz25-Sep-15 8:20 
QuestionHow to implement Apriori using C# am new to C# Pin
Member 1199820924-Sep-15 21:13
Member 1199820924-Sep-15 21:13 
AnswerRe: How to implement Apriori using C# am new to C# Pin
Garth J Lancaster24-Sep-15 21:35
professionalGarth J Lancaster24-Sep-15 21:35 
Questiondebugging strategy ? Linq query mis-match using de-serialized complex class Pin
BillWoodruff24-Sep-15 12:53
professionalBillWoodruff24-Sep-15 12:53 
AnswerRe: debugging strategy ? Linq query mis-match using de-serialized complex class Pin
Gerry Schmitz24-Sep-15 18:30
mveGerry Schmitz24-Sep-15 18:30 
GeneralRe: debugging strategy ? Linq query mis-match using de-serialized complex class Pin
BillWoodruff24-Sep-15 22:20
professionalBillWoodruff24-Sep-15 22:20 

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.