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

C#

 
AnswerRe: Image to ICO Pin
enjoycrack3-Nov-05 13:08
enjoycrack3-Nov-05 13:08 
GeneralRe: Image to ICO Pin
jgallen233-Nov-05 13:11
jgallen233-Nov-05 13:11 
QuestionHTML Format Pin
zaboboa3-Nov-05 6:58
zaboboa3-Nov-05 6:58 
Questionfile monitoring low level Pin
UgoDeschamps3-Nov-05 6:44
UgoDeschamps3-Nov-05 6:44 
AnswerRe: file monitoring low level Pin
.NetRocker3-Nov-05 10:18
.NetRocker3-Nov-05 10:18 
GeneralRe: file monitoring low level Pin
UgoDeschamps3-Nov-05 10:36
UgoDeschamps3-Nov-05 10:36 
GeneralRe: file monitoring low level Pin
Jon Rista4-Nov-05 17:02
Jon Rista4-Nov-05 17:02 
Questionencrypt c# .config files Pin
timothymfox3-Nov-05 6:15
timothymfox3-Nov-05 6:15 
Hi all,

I have several config files in my application. In my app.config file, I currently have some entries that look like this:

<configurationsections>
<configurationsection name="options" encrypt="false">
<storageprovider xsi:type="XmlFileStorageProviderData" name="XML File Storage Provider" path="options.config">
<datatransformer xsi:type="XmlSerializerTransformerData" name="Xml Serializer Transformer">
<includetypes>


<configurationsection name="state" encrypt="false">
<storageprovider xsi:type="XmlFileStorageProviderData" name="XML File Storage Provider" path="state.config">
<datatransformer xsi:type="XmlSerializerTransformerData" name="Xml Serializer Transformer">
<includetypes>


<configurationsection name="main" encrypt="false">
<storageprovider xsi:type="XmlFileStorageProviderData" name="XML File Storage Provider" path="main.config">
<datatransformer xsi:type="XmlSerializerTransformerData" name="Xml Serializer Transformer">
<includetypes>




I would like to encrypt the main.config file in this example. I noticed that there is an encrypt="false" there. If I would like to encrypt it, how would I do that? I don't see anywhere where I can specify a password. Also, I would somehow have to get my existing decrypted main.config file in the new encrypted format. How would I do that?

Thanks a lot for your help!
AnswerRe: encrypt c# .config files Pin
timothymfox3-Nov-05 7:03
timothymfox3-Nov-05 7:03 
GeneralRe: encrypt c# .config files Pin
.NetRocker3-Nov-05 10:15
.NetRocker3-Nov-05 10:15 
QuestionDear all Pin
charbelasmar3-Nov-05 4:55
charbelasmar3-Nov-05 4:55 
AnswerRe: Dear all Pin
J4amieC3-Nov-05 6:00
J4amieC3-Nov-05 6:00 
QuestionImage from custom control? Pin
lameDuck3-Nov-05 4:39
lameDuck3-Nov-05 4:39 
QuestionExport to Excel Pin
zaboboa3-Nov-05 3:41
zaboboa3-Nov-05 3:41 
AnswerRe: Export to Excel Pin
J4amieC3-Nov-05 4:00
J4amieC3-Nov-05 4:00 
GeneralRe: Export to Excel Pin
zaboboa3-Nov-05 4:15
zaboboa3-Nov-05 4:15 
QuestionCant do &quot;Process.Start(...&quot; Pin
Anthony Mushrow3-Nov-05 3:16
professionalAnthony Mushrow3-Nov-05 3:16 
AnswerRe: Cant do &amp;quot;Process.Start(...&amp;quot; Pin
leppie3-Nov-05 3:39
leppie3-Nov-05 3:39 
AnswerRe: Cant do &amp;quot;Process.Start(...&amp;quot; Pin
S. Senthil Kumar3-Nov-05 4:32
S. Senthil Kumar3-Nov-05 4:32 
Questiondot.net 2 Pin
wpcolleen3-Nov-05 1:34
wpcolleen3-Nov-05 1:34 
AnswerRe: dot.net 2 Pin
J4amieC3-Nov-05 1:53
J4amieC3-Nov-05 1:53 
GeneralRe: dot.net 2 Pin
S. Senthil Kumar3-Nov-05 4:38
S. Senthil Kumar3-Nov-05 4:38 
GeneralRe: dot.net 2 Pin
J4amieC3-Nov-05 5:57
J4amieC3-Nov-05 5:57 
GeneralRe: dot.net 2 Pin
S. Senthil Kumar3-Nov-05 18:42
S. Senthil Kumar3-Nov-05 18:42 
AnswerRe: dot.net 2 Pin
leppie3-Nov-05 3:43
leppie3-Nov-05 3:43 

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.