Click here to Skip to main content
15,895,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to set an item in a object's property(of array type) using Reflection Pin
here2learn7-Oct-09 2:08
here2learn7-Oct-09 2:08 
GeneralRe: How to set an item in a object's property(of array type) using Reflection Pin
Mirko19807-Oct-09 2:48
Mirko19807-Oct-09 2:48 
QuestionHow to get item clicked event for ContextMenus Dropdown item clicked Pin
AhmedMasum6-Oct-09 21:50
AhmedMasum6-Oct-09 21:50 
AnswerRe: How to get item clicked event for ContextMenus Dropdown item clicked Pin
Saksida Bojan6-Oct-09 22:10
Saksida Bojan6-Oct-09 22:10 
GeneralRe: How to get item clicked event for ContextMenus Dropdown item clicked Pin
AhmedMasum7-Oct-09 2:07
AhmedMasum7-Oct-09 2:07 
QuestionQuery Exchange Server 2003 Question [modified] Pin
Programm3r6-Oct-09 20:16
Programm3r6-Oct-09 20:16 
QuestionRe: Query Exchange Server 2003 Question Pin
Programm3r6-Oct-09 21:46
Programm3r6-Oct-09 21:46 
AnswerRe: Query Exchange Server 2003 Question Pin
N a v a n e e t h6-Oct-09 22:23
N a v a n e e t h6-Oct-09 22:23 
When requesting to https, you need to add a certificate with the request. Add that to ClientCertificates collection of request object.

To query exchange server and get all mails from inbox, you could do something like
string serverUrl = "https://yourdomain.com/exchange/userid/inbox/"
const string xml = "<?xml version='1.0'?>" +
        "<g:searchrequest xmlns:g='DAV:'>" +
        "<g:sql>{0}</g:sql>" +
        "</g:searchrequest>";

string query = "SELECT * FROM SCOPE('SHALLOW TRAVERSAL OF \"" + serverUrl + "\"') " + "WHERE \"DAV:isfolder\" = false";
string requestString = string.Format(xml, query);

WebHeaderCollection headers = new WebHeaderCollection();
headers.Set("Pragma", "no-cache");
headers.Set("Translate", "f");
headers.Set("Depth", "0");
WebDavRequest.Method should be SEARCH. Set the WebHeaderCollection to WebDavRequest.Headers property.

I have written a useful WEBDAV wrapper for one of our application. I can share as an article later Smile | :)


GeneralRe: Query Exchange Server 2003 Question Pin
Programm3r6-Oct-09 22:50
Programm3r6-Oct-09 22:50 
QuestionRe: Query Exchange Server 2003 Question Pin
Programm3r6-Oct-09 23:46
Programm3r6-Oct-09 23:46 
AnswerRe: Query Exchange Server 2003 Question Pin
N a v a n e e t h7-Oct-09 5:04
N a v a n e e t h7-Oct-09 5:04 
QuestionErrorProvider SetError string constraint Pin
sysdeamon6-Oct-09 20:15
sysdeamon6-Oct-09 20:15 
AnswerRe: ErrorProvider SetError string constraint Pin
stancrm6-Oct-09 20:55
stancrm6-Oct-09 20:55 
AnswerRe: ErrorProvider SetError string constraint Pin
sysdeamon6-Oct-09 21:17
sysdeamon6-Oct-09 21:17 
QuestionMerge PDF Files Pin
Abdul Rahman Hamidy6-Oct-09 19:39
Abdul Rahman Hamidy6-Oct-09 19:39 
AnswerRe: Merge PDF Files Pin
stancrm6-Oct-09 20:54
stancrm6-Oct-09 20:54 
Questionhow to receive & delete mail in pop3 server Pin
fgfdhghgfd6-Oct-09 19:14
fgfdhghgfd6-Oct-09 19:14 
JokeRe: how to receive & delete mail in pop3 server Pin
Rajesh Anuhya6-Oct-09 19:34
professionalRajesh Anuhya6-Oct-09 19:34 
GeneralRe: how to receive & delete mail in pop3 server Pin
Muammar©6-Oct-09 22:38
Muammar©6-Oct-09 22:38 
AnswerRe: how to receive & delete mail in pop3 server Pin
Thomas Krojer6-Oct-09 20:07
Thomas Krojer6-Oct-09 20:07 
AnswerRe: how to receive & delete mail in pop3 server Pin
Christian Graus6-Oct-09 22:12
protectorChristian Graus6-Oct-09 22:12 
QuestionEBay Pin
Naresh856-Oct-09 17:32
Naresh856-Oct-09 17:32 
AnswerRe: EBay Pin
Christian Graus6-Oct-09 18:02
protectorChristian Graus6-Oct-09 18:02 
AnswerRe: EBay Pin
Rajesh Anuhya6-Oct-09 18:49
professionalRajesh Anuhya6-Oct-09 18:49 
QuestionHow to get file path Using Process id Pin
Joe Rozario6-Oct-09 17:28
Joe Rozario6-Oct-09 17:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.