Might help if you wrote your own class to do infinite digit integer handling. So you want a class that can take a 50 digit integer and add a different 50 digit integer to it. Each class instance represents a single number. So the add operation would look like the following.
MyInt op1 = new MyInt("1000....001");
MyInt op2 = new MyInt("9000....019");
MyInt result = op1.add(op2);
I did write to them, they said that the template is saved in RAM. So I do I retrieve it from the RAM buffer and save to database or file. If you have any idea please let me know.
Hoping to hear from you.
How is it stored in RAM, do you have its address and length, do you know where it must be placed for your application to work properly? After all data in RAM is just a collection of bytes, easy to write to a file or save in a database, just the same as any other known piece of information.
@Richardd. Please am really grateful for your assistance, the fingerprint template is a byte array, and 400 in size.
Any c# code to save such an information to a file or database will be very helpful. This is all I need to finish my project.
Thanks so Much.
Use File.WriteAllBytes()[^] to write, and File.ReadAllBytes()[^] to read. Note, this is a simple-minded write and read and assumes the data is just a bunch of bytes that can be read back and reused without any special processing.
Thanks for your reply. I wrote it to a text file. Now converting this cryptic byte to a form that I can save in a database is the challenge am facing as am writing this this to you.
I will appreciate if you can still help.
It is not really possible to tell if it's encrypted since, if it is done properly, there is not information in the file about the encryption method or keys. And a file is just a stream of bytes, so an encrypted file looks just the same as an unencrypted one.
That's not an audit-trail, but an indication who made the last change.
heh, I realise, couldn't think of a better term for it.
Eddy Vluggen wrote:
The database - that way it won't matter whether it's a webservice, a WinForm or any other UI/app reading from the database.
As EF is 'creating' my database, and with migrations keeping it up to date, does that mean I add it there as C# code?
Or somehow make the migrations side run additional sql to either add trigger or constraint etc?
I have a grid with empid's now if a person selects 2 grid by selecting checkboxes and click on download button 2 files should be offered to download.
I know that we can create a file and can send the location of the physical file.
But is there a way i can stream the files
public ActionResult GetFile()
var theStream = new Memorystream();
// create your file and add to memorystream or open a filestream instead.returnnew FileStreamResult(theStream, string appropriateContentType);
Hello. I am using an ActiveX plugin (which is freely available) in .Net to play videos. Now whenever I switch from Code View to Designer View, Visual Studio 2010 crashes and restarts itself. I have tried to start the VS2010 as an administrator but in vain. What could be wrong and what could I try to prevent this? Thanks for any pointer.
This world is going to explode due to international politics, SOON.
From the point of view of that ActiveX control, its use on a form may look like "run-time" instead of "design-time".
In your code (constructor of the form, InitializeComponent), determine run-time/design-time and set some properties of that control accordingly (is there an Enabled property or something like that?).