De1337
freeze winform app until loop exits
I have an app running and when a specific button is hit it runs a bunch of tasks. I want to freeze the tasks at one point until a loop is finished. Not sure why this code isn't doing that:
Later in the code I have a loop=false in my dataReceivedHandlerFuntion to break the loop but code after this code is executing prematurely
9 replies
Password Control
Hi,
I have a simple WinForms app that uploads something to an SFTP server. I am trying to control the login to this SFTP properly but not sure how to both secure the password and still pass it in the connection string. I know about using DPAPI but that would not translate between machines when installing the app. Is there a way to safely store a password for decryption to use in this way? My best guess so far is to enter the password after install and use DPAPI to hash it. It's an extra install step I'd like to avoid if there's a better way.
6 replies
ClickOnce Publish with SFTP
Anyone have any luck making this happen? I can get it to push to an FTP but hate having that on my production server. Anytime I try and push with SFTP I get an error of Unable to create the Web site 'sftp://companyname.com/updates'
1 replies