다음을 통해 공유


How to Intercept SMS messages in .NET CF 1.0?

using

Microsoft.WindowsMobile.PocketOutlook;

using

Microsoft.WindowsMobile.PocketOutlook.MessageInterception;

MessageInterceptor msgIcptr = new MessageInterceptor(InterceptionAction.NotifyAndDelete);

msgIcptr.MessageCondition = new MessageCondition(MessageProperty.Body, MessagePropertyComparisonType.StartsWith, "some content", false);

msgIcptr.EnableApplicationLauncher(

"SomeApplication", @"\Program Files\SomeApplication.exe","/someParam");

Refer this link to know how to achive the above and more in Windows mobile 5.0 with CF 2.0.