|
-
Apr 6th, 2010, 12:48 PM
#1
Thread Starter
Fanatic Member
Update application asynchronously or synchronously
So, let me throw up a scenario.
I have a program I would like to release, has 2 programs within it.
1. The main program.
2. A resource utility.
To release it, i'm going to package them both up using a 3rd party setup maker.
Now, the question is this.
I noticed in the snippets...theres 2 options.
Update application synchronously or asynchronously.
First, whats the difference between the 2?
Also, could I utilize that so it'll update from the clickonce, so I dont have to keep repackaging it?
Also, I want all updates to be mandatory, vs optional like in clickonce default updates..where it gave the user the option to skip.
Reasoning is, for cracks, hacks, etc, if it is modified, and i notice cracks, etc. it'll update and replace any cracks, etc. No "skip the update, so the hack/crack continues to work".
-
Apr 6th, 2010, 12:53 PM
#2
Hyperactive Member
Re: Update application asynchronously or synchronously
I can't answer your other questions but I can say that in general synchronous means that the app waits for the function to finish before it does something else and asynchronously is that the app continues doing other things while the function is doing something. Then when the function returns, it handles it.
Remember to click on the scales to the left and rep me if I helped 
-
Apr 6th, 2010, 02:54 PM
#3
Thread Starter
Fanatic Member
Re: Update application asynchronously or synchronously
so basically synchronous runs on the main thread, and asynchronous runs on another thread?
-
Apr 6th, 2010, 03:34 PM
#4
Hyperactive Member
Re: Update application asynchronously or synchronously
 Originally Posted by TCarter
so basically synchronous runs on the main thread, and asynchronous runs on another thread?
I don't know in terms of threads. I haven't used them.
Remember to click on the scales to the left and rep me if I helped 
-
Apr 7th, 2010, 12:26 AM
#5
Re: Update application asynchronously or synchronously
 Originally Posted by TCarter
so basically synchronous runs on the main thread, and asynchronous runs on another thread?
Synchronous means that the task executes on the same thread that initiated it, whether or not that is the main thread. Asynchronous means that the method that initiates the task returns immediate while the task carries on in the background on a different thread.
-
Apr 22nd, 2010, 04:00 PM
#6
Thread Starter
Fanatic Member
Re: Update application asynchronously or synchronously
I am revisiting this thread as the main concern arrises, is there a way to make all updates MANDATORY vs optional?
-
Apr 22nd, 2010, 06:02 PM
#7
Re: Update application asynchronously or synchronously
 Originally Posted by TCarter
I am revisiting this thread as the main concern arrises, is there a way to make all updates MANDATORY vs optional?
That is up to you if you're writing the code to perform the updates, otherwise it's up to the third party update maker.
-
Apr 22nd, 2010, 06:18 PM
#8
Thread Starter
Fanatic Member
Re: Update application asynchronously or synchronously
In click once, it allows users to skip updates.
My question is, how could i do it so its mandatory?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|