Independentsoft
- any library, any programming language
Home
Purchase
Support
Company
Contact
WebDAV .NET for Exchange
>
Tutorial
> Send meeting update
The following example shows you how to send meeting update.
C# example
using System; using System.Net; using Independentsoft.Webdav.Exchange; using Independentsoft.Webdav.Exchange.ContentClass; namespace Sample { class Program { static void Main(string[] args) { NetworkCredential credential = new NetworkCredential("username", "password"); WebdavSession session = new WebdavSession(credential); session.UserMailbox = "https://myserver/exchange/emailaddress"; Resource resource = new Resource(session); Appointment appointment1 = resource.GetAppointment("https://myserver/exchange/emailaddress/Calendar/TestMeeting.eml"); appointment1.Body = "New meeting text"; resource.SendMeetingRequest(appointment1, true); } } }
VB example
Imports System Imports System.Net Imports Independentsoft.Webdav.Exchange Imports Independentsoft.Webdav.Exchange.ContentClass Module Module1 Sub Main(ByVal args() As String) Dim credential As NetworkCredential = New NetworkCredential("username", "password") Dim session As WebdavSession = New WebdavSession(credential) session.UserMailbox = "https://myserver/exchange/emailaddress" Dim resource As Resource = New Resource(session) Dim appointment1 As Appointment = resource.GetAppointment("https://myserver/exchange/emailaddress/Calendar/TestMeeting.eml") appointment1.Body = "New meeting text" resource.SendMeetingRequest(appointment1, True) End Sub End Module