How do you ensure Clipboard content is available if Service or client application is restarted?

How do you ensure Clipboard content is available if Service or client application is restarted?

How do you ensure Clipboard content is available if Service or client application is restarted?

A.
Increase session timeout to 60 minutes

B.
Modify service to use [ServiceBehavior(InstanceContextMode=InstanceContextMode.Single)]

C.
Apply [DurableService] attribute to service and [DurableOperation] to each method.

D.
Do a Copy() and Paste() to a local file, then when the service is restarted, read text from the local file.



Leave a Reply 0

Your email address will not be published. Required fields are marked *