Click here to Skip to main content
15,889,281 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Writing unicode characters to an ASCII INI File (yes, you can!) Pin
Eddy Vluggen24-Oct-16 9:05
professionalEddy Vluggen24-Oct-16 9:05 
GeneralRe: Writing unicode characters to an ASCII INI File (yes, you can!) Pin
NotPolitcallyCorrect24-Oct-16 10:11
NotPolitcallyCorrect24-Oct-16 10:11 
GeneralRe: Writing unicode characters to an ASCII INI File (yes, you can!) Pin
Gerry Schmitz24-Oct-16 11:54
mveGerry Schmitz24-Oct-16 11:54 
GeneralRe: Writing unicode characters to an ASCII INI File (yes, you can!) Pin
Richard MacCutchan24-Oct-16 21:44
mveRichard MacCutchan24-Oct-16 21:44 
GeneralRe: Writing unicode characters to an ASCII INI File (yes, you can!) Pin
NotPolitcallyCorrect25-Oct-16 2:34
NotPolitcallyCorrect25-Oct-16 2:34 
SuggestionRe: Writing unicode characters to an ASCII INI File (yes, you can!) Pin
ZurdoDev25-Oct-16 3:37
professionalZurdoDev25-Oct-16 3:37 
GeneralRe: Writing unicode characters to an ASCII INI File (yes, you can!) Pin
Gerry Schmitz25-Oct-16 4:50
mveGerry Schmitz25-Oct-16 4:50 
QuestionHOW TO SIGN XML FILE IN .NET COMPACT EDITION Pin
AlexB4717-Oct-16 19:29
AlexB4717-Oct-16 19:29 
I need help for sign an XML files with (signature tag). Nothing problem if the platform is a standard PC but in .NET COMPACT FRAMEWORK for windows mobile 6 I have problems. First .. exist Systems.Security in .NET CF? 2.0 or 3.5? Where are?

this is my code for Pc ..:

VB
Public Function Firma(ByVal XmlFile as String) As Boolean
Dim signedXML as String = "c:\signedXML.xml"
    ' setup the document to sign 
    Dim doc As XmlDocument = New XmlDocument()
    doc.Load(XmlFile)
    Dim signer As SignedXml = New SignedXml(doc)

    'setup the key used to sign 
    Dim key As Security.Cryptography.RSA = New Security.Cryptography.RSACryptoServiceProvider()
    signer.KeyInfo = New Security.Cryptography.Xml.KeyInfo()

    signer.KeyInfo.AddClause(New Security.Cryptography.Xml.RSAKeyValue(key))
    signer.SigningKey = key

    'create a reference to the root of the document 
    Dim orderRef As Security.Cryptography.Xml.Reference = New Security.Cryptography.Xml.Reference("")
    orderRef.AddTransform(New Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform())
    orderRef.DigestMethod = "http://www.w3.org/2001/04/xmlenc#sha256"

    signer.AddReference(orderRef)

    'add transforms that only select the order items, type, and 
    'compute the signature, and add it to the document 
    signer.ComputeSignature()
    doc.DocumentElement.AppendChild(signer.GetXml())
    doc.Save(signedXML)
End Function

Alex

Question"The feature you are trying to use ..." Error Pin
jszabo16-Oct-16 12:21
jszabo16-Oct-16 12:21 
AnswerRe: "The feature you are trying to use ..." Error Pin
Dave Kreskowiak16-Oct-16 13:33
mveDave Kreskowiak16-Oct-16 13:33 
GeneralRe: "The feature you are trying to use ..." Error Pin
jszabo17-Oct-16 12:24
jszabo17-Oct-16 12:24 
GeneralRe: "The feature you are trying to use ..." Error Pin
Dave Kreskowiak17-Oct-16 13:10
mveDave Kreskowiak17-Oct-16 13:10 
Question.net freelancer Pin
Member 1278822911-Oct-16 11:06
Member 1278822911-Oct-16 11:06 
AnswerRe: .net freelancer Pin
Dave Kreskowiak11-Oct-16 11:22
mveDave Kreskowiak11-Oct-16 11:22 
AnswerRe: .net freelancer Pin
Eddy Vluggen12-Oct-16 7:05
professionalEddy Vluggen12-Oct-16 7:05 
QuestionNested Components - Winforms Pin
Midi_Mick10-Oct-16 6:47
professionalMidi_Mick10-Oct-16 6:47 
AnswerRe: Nested Components - Winforms Pin
Midi_Mick11-Oct-16 0:24
professionalMidi_Mick11-Oct-16 0:24 
QuestionLife of IDisposable object members Pin
Midi_Mick2-Oct-16 7:25
professionalMidi_Mick2-Oct-16 7:25 
AnswerRe: Life of IDisposable object members Pin
Nathan Minier3-Oct-16 1:28
professionalNathan Minier3-Oct-16 1:28 
GeneralRe: Life of IDisposable object members Pin
Midi_Mick3-Oct-16 1:41
professionalMidi_Mick3-Oct-16 1:41 
GeneralRe: Life of IDisposable object members Pin
Nathan Minier3-Oct-16 1:46
professionalNathan Minier3-Oct-16 1:46 
QuestionControl Designers Pin
Midi_Mick27-Sep-16 4:02
professionalMidi_Mick27-Sep-16 4:02 
AnswerRe: Control Designers Pin
Gerry Schmitz28-Sep-16 13:26
mveGerry Schmitz28-Sep-16 13:26 
Questioninteroperation / Loading and unloading WPF assembly from arbitrary path Pin
achimschoen22-Sep-16 5:44
professionalachimschoen22-Sep-16 5:44 
AnswerRe: interoperation / Loading and unloading WPF assembly from arbitrary path Pin
NotPolitcallyCorrect22-Sep-16 6:29
NotPolitcallyCorrect22-Sep-16 6:29 

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.