Hello, I'm new here, english is not my native language, but I'm gonna do my best.
I need to know in wich zone or byte(s) could I write a few lines (in flash memory) that do not get erase after format the flash.......
I really apreciate any help...thanks in advance
19 2634
What are you trying to accomplish exactly?
In general, if your program can write to some flash you (or somebody else/the OS) can erase it later.
Also "flash" is a really general concept. What specific "flash" are you dealing with? SD card, thumb drive, etc?
Sorry,, i've not been exact at all...
I have a group of flash memories, not sd, just the common memories that we use to transport information all the time. the problem is that i need to mark this flash and asociate this mark with some password that the user of the flash could has.. I could do this encripting some file and copying it like normal data into the flash memory, but the problem is that it is a common file that any user could see and erase as you said, i need to achieve that in a low level(I guess) that the common user could not see the mark and even could not erase it by normal ways.........
I apreciate you are helping me up......sorry my english
There's nothing that will prevent the formatting of a disk, one way or another. Especially not in C#.
Exactly, so i need to write my little thing in a part of the memory that doesn't erase by formating....do you know what I mean. the thing is to keep whatever i'v writen even after formating...
The question is...when a disk is formated is writen all it's sapace of the partition? or is there any part that is not writen?.....aga in, sorry my english
Rabbit 12,516
Recognized Expert Moderator MVP
There's no way of doing it without creating custom firmware to replace what's on the USB. Much akin to what the U3 platform does on the SanDisk drives.
But i have different types of memories, from diferents manufacturer,st ill could i do this?
Rabbit 12,516
Recognized Expert Moderator MVP
I'm not sure what you mean. You can hack and crack almost anything. But we're talking about custom firmware here, it's not a simple task. We are talking about technical knowledge well beyond a vast majority of the population.
There's always option two, which is fabrication, but if the first option is difficult, option two will be near impossible for most people.
Do yourself a favor and just buy some encrypted flash drives. The work is already done for you.
And there's no way that you can do this with C#, or .NET period. If it is even possible, you're looking at Assembler or C.
To understand what you want and what you can do, you need to know some issues. Like What is Disk Format?
do you think format erase the disk?
No. Not completely. Format create the definition of the storage. i.e. How data will be stored, how they will be read and write, etc..
Do you know what is the format of your flash drive?
I can guess FAT32 or may be NTFS
To protect your specific data........ You better design your own FORMAT. Cause in typical formatting system like FAT, FAT32, NTFS, EXT or other file format they don't protect special memory portion.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Mountain Bikn' Guy |
last post by:
Take some standard code such as shown below. It simply loops to add up a
series of terms and it produces the correct result.
// sum numbers with a loop
public int DoSumLooping(int iterations)
{
int result = 0;
for(int i = 1;i <=iterations;i++)
{
result += i;
|
by: Gustaf Liljegren |
last post by:
IE does, and I can't remember this used to be a problem in Netscape. I
guess someone in the Mozilla team just came up with a Smart Idea about
the True Semantics of the Hyphen Minus character. :-( How do I make IE
and Firefox agree to make hyphens trigger a linebreak?
Gustaf
|
by: Andreas Prilop |
last post by:
Jukka reports on
http://www.cs.tut.fi/~jkorpela/chars/spaces.html
that Internet Explorer 6 fails on the "zero width space" U+200B
Is this observation still valid? For which versions of MS Windows
does it apply? Does it depend on the encoding (charset)?
I have a test page in three encodings:...
|
by: Darren Anderson |
last post by:
I have a function that I've tried using in an if then statement and I've
found that no matter how much reworking I do with the code, the expected
result is incorrect.
the code:
If Not (strIn.Substring(410, 10).Trim = "") Then
'Something processed
Else
'Something processed
|
by: |
last post by:
Hi all,
HttpWebRequest, and SoapHttpClientProtocol both expose a
ClientCertificates property, which can hold multiple client certificates,
but on the service side, it can only receive one client certificate, since
it derives System.Web.Services.WebService class, and it's
Context.Request.ClientCertificate is a single HttpClientCertificate...
| |
by: Rubin |
last post by:
1) I want to show a breaking hyphen in Mozilla 1.5.0.4
How do I do that?
"Unicode standard annex #14", <http://www.unicode.org/reports/tr14/>,
defines 4 breaking hyphens.
<quote>
Breaking hyphens establish explicit break opportunities
immediately after each occurrence.
|
by: Santos L Halper |
last post by:
i cant believe that im the only person that has ever run into this problem.
im using a very simple table to layout a page. the table has 3 columns, with
the middle column being where the data will be displayed.
the table is set at 500px wide, with each column being a width that adds up
to 500px. so far so simple.
the text that will display...
|
by: removeps-groups |
last post by:
How to wrap text in <ptag if the text has no spaces and is very
long? Here is an example:
<p>VeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLong</
p>
The above line is so long...
|
by: mjbauer95 |
last post by:
I have a function that I want to be able to use to find out if a string is in a string.
int in(char string, char finder){
int i = 0;
int j = 0;
int r = 0;
int flag = 0;
while (string != '\0') {
|
by: davide marchi |
last post by:
Hi friends,
I need to extract email addresses from a public site that publishes the names of companies in adobe flash format: http://www.vinitaly.com/catalogo
I only use Linux, but do not yet know well the various programming languages, some of you experts could give me some suggestions?
I've been seen this...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |