It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
My friend sent me an encoded string which I would assume is Java or C#, but since I code in neither of them I could need some help. The string is as follows:
0x579fb13
I thought about it being base 64 or so at first, but the 0x indicates it's hex or something.
Any help appreciated.
The 0x would indeed normally indicate that it's hex. That looks like a memory location to me, and as such may be (inadvertently) the pointer to the structure containing the encrypted string.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have a check box in my form that I need to define along with other fields for inserting data. But I am not sure How to define it for inserting data. Below is my code.
cmd.Parameters.AddWithValue("#EmailTmp", (txtEmail.Text));
cmd.Parameters.AddWithValue("#PhoneTmp", (txtPhone.Text));
cmd.Parameters.AddWithValue("#AgreeTmp", (cbAgree.CheckBox));
Looking at your pasted code, I think you want this:
cmd.Parameters.AddWithValue("#AgreeTmp", (cbAgree.Checked));
or possibly something like:
cmd.Parameters.AddWithValue("#AgreeTmp", (cbAgree.Checked ? 1 : 0));
cmd.Parameters.AddWithValue("#AgreeTmp", (cbAgree.Checked));
This will give you a boolean value of true if checked, false if not. SQL will translate this into a 0/1 if you have the field in the SQL db as a bit.
Edit: As a side note, you don't need the "#" in front of the AgreeTmp
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
First sorry for my bad English.
I have to use a similar class to RSAKey, from hurlan in C#, but I can't find anything similar, and I don't really understand what exactly this class does.
Do you know any equivalent to this (per example in BouncyCastle), or can you explain me what it exactly does?
Thanks!
Read more about RSA here. It's a public key encryption protocol. (read What is public key crytography ?)
In C#, you have to use :
With .Net 4.5 : System.Security.Cryptography.RSACryptoServiceProvider
With WinRT : AsymmetricKeyAlgorithmProvider
Hope this helps
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to urldecode, except for the %20 character. How do I accomplish this?
Have you considered doing a string replace after decoding? For example
string decoded = HttpServerUtility.UrlDecode(input).Replace(" ", "%20");
use method HttpUtility.HtmlDecode(myEncodedString, myWriter);
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
Im just learning about reflection in C#. Anyone know of some good tutorials or want to give me some sample code to look at? Thanks!
You might like to look here to start with.. (Its the first result in Google Search)
http://csharp.net-tutorials.com/reflection/introduction/
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I want to make a Antivirus Software in Data Structure using C#. So help needed for the Algorithm.
You can find algorithms here: http://sourceforge.net/projects/clamav/
The code is writted for unix but as you are interested in algorithm only so it will work for you. It's a popular antivirus for UNIX called "Clam Antivirus".