I have made a C# application , now I want to create custom survey (actually sending data automatically to me, about - crashes , usage duration etc.) to enhance my application .
How can I do it ?
I have made a C# application , now I want to create custom survey (actually sending data automatically to me, about - crashes , usage duration etc.) to enhance my application .
How can I do it ?
You may do this:
System.Threading.Timer
instance and set desired schedule to send the statistics. Or just send them each time user starts your application.WebClient/HttpClient
.Tutorials:
Sorry for the rough reception you received with that one comment. Many of us understood you weren't asking for us to write code for you, and I think you had a legit question.
You might want to also look at the .Net Trace capabilities. While you won't get data sent to you automatically, there's a built-in, easy-to-use framework that's unobtrusive and let's you gather statistics. Here are some links to check out:
How to Add Trace Statements to Code
See also
So there you go. Another possible way to approach this.