I was wondering, if there is any way to create out of office rules (Reply-With Templates, forwardings... http://office.microsoft.com/en-us/outlook-help/send-out-of-office-notices-automatically-with-an-exchange-account-HP001232830.aspx#BM2[^]) in Exchange 2010 using c#? (Preferably EWS)
I know that this can be done in Exchange 2003 using MAPI, but I was unable to find any Information for Exchange2010...
I would advise you to examine very carefuly your use of the streams and the WebResponse -- also avoid trying to reuse them -- this is an inherently asynchronous process and trying to create an SMS bulk texting application is not what those classes are intended to do -- it is one thing to use them to mimic browser fetches, but quite another to use them statically for multiple texts.
At the very least, close them and get them each time -- the Response -- are you reading to the end and closing the response?
There are two ways of doing this through a single process called a SnapShot.
1. You can capture your entire display area, or
2. by defining a rectangular area on the display area called the ROI (Region Of Interest)
There are lots of code samples out there that covers both scenarios. Use Google to search for "How to take a snapshot of my display" or "How to capture an area of my screen".
You can then save the memory stream (the captured information will be stored in a memory stream) in a few formats - JPG, TIFF, PNG and BMP.
I have a program created by me which I've been using for some time now. It's a tool for android and ios. I want to make it so if there is a connected android or ios device on my computer my program will automatically detect it but unfortunately where to start. I've been searching all over Google and found nothing of use. For example when the device is connected my label1 text will say something along the lines of "ios device connected"
Presumably your wrote this tool. And presumably it already does something with both devices.
So why can't you just find a do nothing API for each device, such as a query for version number, and put that in a thread that polls every X seconds. If it gets a result then the device is there. If no result then the device isn't.