User Profile
Collapse
-
Hi, ProcessStartInf o expect file name. If i run with your code, it stops at ReadToEnd() function for unlimited time.... -
No, my c# application is window service. It takes file from directory encrypt it and store it on directory...Leave a comment:
-
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....Leave a comment:
-
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....Leave a comment:
-
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);
... -
jatinvmehta started a topic Token StartElement in state Epilog would result in an invalid XML documentin .NETToken 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"]...
No activity results to display
Show More
Leave a comment: