User Profile

Collapse

Profile Sidebar

Collapse
jatinvmehta
jatinvmehta
Last Activity: Mar 20 '09, 03:52 PM
Joined: Mar 12 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jatinvmehta
    replied to GPG problem with passphrase
    in .NET
    Hi, ProcessStartInf o expect file name. If i run with your code, it stops at ReadToEnd() function for unlimited time....
    See more | Go to post

    Leave a comment:


  • jatinvmehta
    replied to GPG problem with passphrase
    in .NET
    No, my c# application is window service. It takes file from directory encrypt it and store it on directory...
    See more | Go to post

    Leave a comment:


  • jatinvmehta
    replied to GPG problem with passphrase
    in .NET
    if i open command window by start --> run --> cmd and type following line

    echo test| gpg -es --passphrase-fd 0 --recipient jatinvmehta@gma il.com -o c:\test.gpg c:\test.txt

    I runs fine and create test.gpg.

    Now, i have c# application and when i run same command by opening cmd.exe, it doesn't work....
    See more | Go to post

    Leave a comment:


  • jatinvmehta
    replied to GPG problem with passphrase
    in .NET
    Hi Bala, i don't get any error. When i run the application, nothing happen and if i say
    psi.CreateNoWin dow = false;

    It opens command window with following text

    Reading passphrase from file descriptor 0

    That's it....
    See more | Go to post

    Leave a comment:


  • jatinvmehta
    started a topic GPG problem with passphrase
    in .NET

    GPG problem with passphrase

    ProcessStartInf o psi = new ProcessStartInf o("cmd.exe");

    psi.CreateNoWin dow = false;

    psi.UseShellExe cute = false;

    psi.RedirectSta ndardInput = true;

    psi.RedirectSta ndardOutput = true;

    psi.RedirectSta ndardError = true;

    psi.WorkingDire ctory = "C:";

    System.Diagnost ics.Process process = System.Diagnost ics.Process.Sta rt(psi);
    ...
    See more | Go to post

  • Token StartElement in state Epilog would result in an invalid XML document

    Hi,

    I am using dataset to read a xml file.

    dsData.ReadXml( ConfigurationSe ttings.AppSetti ngs["xmlpath"].ToString());

    i am binding this dataset to a datagrid.

    Then i add a new row to dataset

    DataRow dr = dsData.Tables[1].NewRow();
    dr["ID"] = dsData.Tables[1].Rows.Count;
    dr["Numeric-3"] = txtNumeric3.Tex t;
    dr["Alpha-2"]...
    See more | Go to post
No activity results to display
Show More
Working...