CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: prixone

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    6,691

    Re: Decrypt Private Key data using Public Key

    NSA ehheeheh ...

    Well i know how easy it is to decompile, invade and read an application hence i am looking for methods to make it as secure as possible so people that break in give up due to the...
  2. Replies
    2
    Views
    6,691

    [Solved] Decrypt Private Key data using Public Key

    Hi,

    I know that on php it is possible to decrypt private key encrypt data with the public key so i hope that it works on C# aswell...

    currently i have the follow code:

    public string...
  3. Re: RSACryptoServiceProvider from PHP Created Key to C# ?

    ok, managed to get it work with the follow:


    public string Encrypt(string data)
    {
    X509Certificate2 cert = new X509Certificate2();
    ...
  4. [SOLVED] RSACryptoServiceProvider from PHP Created Key to C# ?

    Hi,

    i am trying to use a public key that i have generated with my php code into my C# to decrypt and encrypt data but i am having difficult doing such. I am not experienced with RSA on C# and...
  5. Re: is there a way or a container for this case ?

    like i said on the previuos post i was not home and hence could not try it .... and i didnt knew i could use it like that until i researched and tried ... once amleto told me that i was just...
  6. Replies
    8
    Views
    10,000

    Re: Add new line to the text in a button

    Ok, i made a simple test on my VS2008...

    When i made the button and enlarged it's vertical size and then typed what i wanted it did broke to new lines when it reached the end.

    but if you create...
  7. Replies
    8
    Views
    10,000

    Re: Add new line to the text in a button

    have you tried \n and enlarged the Y size of it ?
  8. Re: is there a way or a container for this case ?

    Thank you for your input...

    the gathering is missplaced sorry about that...

    How would i read it with a foreach ? havent tested nor anything(not home right now) but would it be something like:...
  9. Re: is there a way or a container for this case ?

    So i think i figure it out...


    public class RouteList
    {
    public float PosX { get; set; }
    public float PosY { get; set; }
    public float Travel...
  10. is there a way or a container for this case ?

    hi,

    i have GPS coordinates where i would like to make my own route and store into a xml.

    So i have 2 float values X and Y and 1 int Travel value and i am clueless on how could i temporary store...
  11. Finite State Machine or another good approch for Decision system

    Hi,

    i have no code to for now currently i am looking for a good and easy material using FSM and/or something similar to get me started.

    What i am planning to make is a IRC AI RPG BOT to take...
  12. Replies
    1
    Views
    1,220

    Re: XmlTextReader inner node ? attributes ?

    For the time being i resolved my problem with the follow:

    XmlDocument doc = new XmlDocument();
    doc.Load(Application.StartupPath + "\\Data\\program.xml");
    ...
  13. Replies
    1
    Views
    1,220

    XmlTextReader inner node ? attributes ?

    Hi,

    i would like to know what would be the best way to read this xml file or if there is a better way to construct it:


    <?xml version="1.0"?>
    <programs>
    <folder id="ProgramName">...
  14. Replies
    3
    Views
    1,124

    Re: Best way to read an endless file ?

    Thanks...

    Currently i've came down to this:

    StreamReader readFile = new StreamReader(File.Open(MyLogFile, FileMode.Open, FileAccess.Read, FileShare.ReadWrite));
    ...
  15. Replies
    3
    Views
    1,124

    Best way to read an endless file ?

    Hi,

    i need to read and parse a logfile that is being recorded at all the time and i dont really know what would be the best way to approch and read such a file considering that my main need is to...
  16. Replies
    3
    Views
    1,020

    Re: Dictionary questions

    Thanks for the replies.

    Nelo yes that is what i currently do, my own keys etc i was just trying to find out this information to make sure that was the way to go.
  17. Replies
    3
    Views
    1,020

    Dictionary questions

    Hi,

    this is just a sample gathered from elsewhere where i would like to go for a few doubts.

    To begin with you need 2 args on the Dictionary, key and value, but even so does it still store the...
  18. Replies
    6
    Views
    985

    Re: Thread read/change window controls

    that function is being called from a thread to control weather i have a valid id or not and if i do it will change the labels on the window with the information i need that is being gather from...
  19. Replies
    6
    Views
    985

    Re: Thread read/change window controls

    Well i am not here to argue with you... i did search around google before coming posting it here otherwise i would not be posting in first place, while i was searching i did FOUND many samples but...
  20. Replies
    6
    Views
    985

    Re: Thread read/change window controls

    Arjay i do know how to invoke but i did not knew how to invoke a Window Form control or rather i did not knew i could invoke it like this sample... too bad you couldnt help me but thanks for coming...
  21. Replies
    6
    Views
    985

    Thread read/change window controls

    Hi,

    Could anyone possible give me a simple sample on how could i delegate a control from inside a thread ?

    Inside my Thread i have this little function:

    public void StatusUpdate()
    {
    ...
  22. Replies
    5
    Views
    2,011

    Re: Mouse window on mouse down

    thanks i will check it out and let u know what happens :)
  23. Replies
    5
    Views
    2,011

    Re: Mouse window on mouse down

    Yes but then i would need to create a MouseMove for all the labels groups etc ... because whenever i click on one of those it would not move the window and what i really wanted to do is some kinda of...
  24. Replies
    4
    Views
    960

    Re: Login Form best pratices...

    Thanks i will take a close look at it
  25. Replies
    4
    Views
    960

    Re: Login Form best pratices...

    Thanks, do u know any documentation on how should i thru if i was going to use SSL ?

    I mean, i would prob need to use something from the website cert to decode it later or how would i go about...
Results 1 to 25 of 34
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured