Re: SecureString() in framework 1.1
- From: "Patrice" <http://www.chez.com/scribe/>
- Date: Mon, 30 Jul 2007 17:06:17 +0200
Precisely you can't. That's what I meant. For now I'm not sure what you are
asking.
Note that the use of SecureString is not needed and that the same code would
work with a plain usual string (is this the information you are looking for
?). The SecureString allows to crpt/decrypt the string when needed and the
framework take some actions to avoid having this floating in memory where it
could be captured.
So unless you have a more specific requirement I would say just use a
string. The secure string is not at all related to running a program under
an account but is a general tool you can use to store sensitive strings in
2.0.
--
Patrice
"Pietro Pesce" <mistake8@xxxxxxxx> a écrit dans le message de news:
1185806252.061571.69480@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 30 Lug, 16:31, "Patrice" <http://www.chez.com/scribe/> wrote:
So you can't use SecureString !? So I'm sure what the question is but it
could range from just using a plain old string or crypting yourself the
string (possibly using the same class name so that you could easily
upgrade
to 2.0 once read) or enforcing the use of .NET 2.0. Anyway there are
likely
some securestring features you won't be able to implement by yourself.
Also as a side note it's likely best to always code for the framework you
target so that you don't use accidentaly things that would not compile
anyway on an earlier framework release you support...
If not enough please elaborate a bit on your requirements (for now the
question sounds like how do I use a 2.0 specific feature in 1.1 which is
not
possible by definition).
---
Patrice
"Pietro Pesce" <mista...@xxxxxxxx> a écrit dans le message de news:
1185805140.284732.226...@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 30 Lug, 15:58, Rory Becker <RoryBec...@xxxxxxxxxxxxxxxx> wrote:
its work...but whit framework 1.1 dont work because SecureString()
there arent.
i must be run i program whit the administrator privileges......where
i
As far as I know. the securestring does not exist in the 1.1 framework.
I think you'll need to compile the code against version 2.0 or better.
--
Rory
i know....but i must run the program whit the pc whit framework 1.1-
Nascondi testo tra virgolette -
- Mostra testo tra virgolette -
mmmm i dont understand:
1- how can use securestring whit fw 1.1? post the code?
2- you know another method for run the program whit the administrator
privileges?
tnx
.
- References:
- SecureString() in framework 1.1
- From: Pietro Pesce
- Re: SecureString() in framework 1.1
- From: Rory Becker
- Re: SecureString() in framework 1.1
- From: Pietro Pesce
- Re: SecureString() in framework 1.1
- From: Patrice
- Re: SecureString() in framework 1.1
- From: Pietro Pesce
- SecureString() in framework 1.1
- Prev by Date: Re: Updating and Deleting
- Next by Date: Re: SecureString() in framework 1.1
- Previous by thread: Re: SecureString() in framework 1.1
- Next by thread: Re: SecureString() in framework 1.1
- Index(es):
Relevant Pages
|