Digitally sign large XML file [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have large XML file to sign. The file size might go up to 4 GB. I am looking for solution where instead of loading whole document in to memory, I can do the signing batch by batch. Like reading few lines from stream and then sign it separately. Then combine all generated hash and compute final hash.
I am not much aware about hashing stuff. IF anybody knows the answer please help me?

Related

How to play 16-bit pcm array programmatically [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have a short[] array filled with 16-bit pcm values.
I want to be able to play it without adding any header, and without saving any files to my memory.
I know that I might need a class that gives parameters like bit rate and stuff like that - but I want to do it all in my program without and files.
I am working in C#.
Thanks ahead,
Ofek
Install CSCore through nuget.
Then write all your shorts into a memorystream (you can use the binarywriter to do that).
After that use the CSCore.Codecs.RAW.RawDataReader to create an audiosource from your memorystream by specifing the format (16 bit, pcm, samplerate, channelcount).
After that you can use for example the CSCore.SoundOut.WasapiOut class to playback the stream.
You can take a look at the little sample on codeplex (bottom of the page). http://cscore.codeplex.com/

Decrypt files in a VB6 installer. like file.ex_ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I need to decrypt the files that are on a VB6 install package. Once files are in the installer are like file.bm_ and when I decrypted this file, this file is named file.bmp. I try with the program win.rar and saw recognized as encrypted files and decrypted well, but I don't know how to do this from an application in c#.
Thank you.
Ok, had to find these.
If GZip doesnt work and you need a last resort. There are some DOS files bzip.exe, bunzip.exe and a win32 version that you can still likely find somewhere on the net. Mine are dated 2007 but they still work as far as I know (last I think I needed them was on XP 64, 2011). The upside is that they handle several compression formats.
Like I said, a last resort.

Hide Network drive from command line or VB Script [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
We have a situation where we want to hide network drive suppose "L:"
Can this be achieved through command line or VBScript or C#
You can try to modify the "NoDrive" key in the registry.
This article explains it:
http://www.howtogeek.com/howto/windows-vista/hide-drives-from-your-computer-in-windows-vista/

How would I convert HTML into a PDF document [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I need to create a registration form and when a user registers I would need to take that data and convert it to a PDF document and email that document, how would I go about doing this?
I am using Visual Studio 2012, .NET 4.5, ASP .NET, C# and HTML
You need to look at a library like PDFSharp or PDFCreator

Write C# program to calculate Halsted Metric in Given c# source file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to write a application to calculate Halsted Metric in Given c# source file. I cant find a method to calculate these parameters.
the number of distinct operators
the number of distinct operands
the total number of operators
the total number of operands
are there way to calculate these parameters in given c# source file?
Well, what I can really advise you is Irony which is a really nice project for parsing formal languages. I've used it in my own project and was pleased by its flexibility and speed. Here is the link to their codeplex page where you can download sources and ask any questions regarding the project,

Categories

Resources