Click here to Skip to main content
15,914,385 members
Home / Discussions / C#
   

C#

 
GeneralRe: System.NullException Error Pin
tcombs0714-Apr-08 9:29
tcombs0714-Apr-08 9:29 
GeneralRe: System.NullException Error Pin
Luc Pattyn14-Apr-08 9:56
sitebuilderLuc Pattyn14-Apr-08 9:56 
GeneralSQL statement Pin
vanessa12314-Apr-08 8:08
vanessa12314-Apr-08 8:08 
GeneralRe: SQL statement Pin
Rob Philpott14-Apr-08 8:18
Rob Philpott14-Apr-08 8:18 
GeneralRe: SQL statement Pin
Rob Philpott14-Apr-08 8:19
Rob Philpott14-Apr-08 8:19 
GeneralSerializing object. Need Help. Pin
zaboboa14-Apr-08 6:33
zaboboa14-Apr-08 6:33 
GeneralRe: Serializing object. Need Help. Pin
Zoltan Balazs14-Apr-08 7:23
Zoltan Balazs14-Apr-08 7:23 
GeneralC#: WriteEncrypedFileRaw Pin
rreeeddbb14-Apr-08 6:28
rreeeddbb14-Apr-08 6:28 
Hello.
I am using the Windows Encrypted File System to encrypt a file. I want to transfer this file across a network to another computer in its encrypted state so i am trying to use the OpenEncryptedFileRaw Read, Write and Close api methods. (http://msdn2.microsoft.com/en-us/library/aa365429(VS.85).aspx[^])

I've found an example that uses ReadEncryptedFileRaw to save a file in its encrypted state, which seems to work fine.(http://www.jensign.com/JavaScience/dotnet/rawefs/rawefs.cs[^])

However I am having trouble understanding the call back functions and the IntPtr's. I need to convert the raw efs file created from rawefs.cs back to the files original state using WriteEncrypedFileRaw, but all my attempts to write an import call back required by the WriteEncryptedFileRaw api have failed.

Has anyone used these api methods in C#, know of an example or just in general have any helpful advice as to how to go about writing such a call back?

Thanks.
GeneralWindows Service Installer Pin
Madmaximus14-Apr-08 6:28
Madmaximus14-Apr-08 6:28 
General"The given path's format is not supported." Pin
shivapriyak14-Apr-08 4:36
shivapriyak14-Apr-08 4:36 
GeneralRe: "The given path's format is not supported." Pin
Mark J. Miller14-Apr-08 4:48
Mark J. Miller14-Apr-08 4:48 
GeneralRe: "The given path's format is not supported." Pin
J4amieC14-Apr-08 5:42
J4amieC14-Apr-08 5:42 
GeneralRe: "The given path's format is not supported." Pin
Mark J. Miller14-Apr-08 6:11
Mark J. Miller14-Apr-08 6:11 
GeneralRe: "The given path's format is not supported." Pin
J4amieC14-Apr-08 6:20
J4amieC14-Apr-08 6:20 
GeneralRe: "The given path's format is not supported." Pin
Mark J. Miller14-Apr-08 6:29
Mark J. Miller14-Apr-08 6:29 
GeneralRe: "The given path's format is not supported." Pin
PIEBALDconsult14-Apr-08 8:33
mvePIEBALDconsult14-Apr-08 8:33 
GeneralRe: "The given path's format is not supported." Pin
Luc Pattyn14-Apr-08 5:11
sitebuilderLuc Pattyn14-Apr-08 5:11 
QuestionHow to retrieve the printer's device context in C# ? Pin
Faysal14-Apr-08 4:03
Faysal14-Apr-08 4:03 
GeneralRe: How to retrieve the printer's device context in C# ? Pin
Luc Pattyn14-Apr-08 7:41
sitebuilderLuc Pattyn14-Apr-08 7:41 
QuestionOpen new form Pin
Alessandra7714-Apr-08 3:37
Alessandra7714-Apr-08 3:37 
GeneralRe: Open new form Pin
A AntonySP14-Apr-08 3:40
A AntonySP14-Apr-08 3:40 
GeneralRe: Open new form Pin
Alessandra7714-Apr-08 3:43
Alessandra7714-Apr-08 3:43 
GeneralRe: Open new form Pin
Christian Graus14-Apr-08 3:46
protectorChristian Graus14-Apr-08 3:46 
GeneralRe: Open new form Pin
A AntonySP14-Apr-08 3:48
A AntonySP14-Apr-08 3:48 
GeneralRe: Open new form Pin
Alessandra7714-Apr-08 3:52
Alessandra7714-Apr-08 3:52 

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.