Geeks With Blogs

News
WinToolZone - Spelunking Microsoft Technologies
I work as a developer on the Common Language Runtime (CLR) team, specifically in the areas of exception handling and CLR hosting.
Disclaimer

The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion. All code samples are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Inside and Out... An attempt to understand technology better... March 2007 Entries
[Download] NotifyOnEmail - Get notified on email about SMS and Missed Calls
[Originally posted on 5th June 2006] I just finished off with TechED 2006 India at Delhi and had sometime at hand today before TechED starts at Pune tomorrow. So, I thought about writing an application I had been waiting to develop. There are times when we forget our phones at home. However, we continue to get SMS and phone calls on our device while we are at a totally different location. Would it not be great if our phone could email us details of the SMS received and phone calls we missed? Download ......

Posted On Thursday, March 29, 2007 2:46 PM

WinToolZone.Bluetooth - Support for authentication
[Originally posted on 10th July 2006] WinToolZone.Bluetooth now has authentication support. You can use a BluetoothDevice object (which is used represent a Bluetooth device that has been detected) and use the SendPassKey method to send a pass key for authentication: . 1: bth.Devices[ i ].SendPassKey("123", null); Also, I have added OnIncomingAuthenticationReq... event handler against a BluetoothDevice object that can be used to setup an event handler, which will be invoked when the Bluetooth device ......

Posted On Thursday, March 29, 2007 2:42 PM

WinToolZone.Bluetooth - Added device enumeration support
[Originally posted on 6th July 2006] WinToolZone.Bluetooth, the managed Bluetooth API for the desktop that I am working on, now has the support for enumerating devices as well. The snippet below exemplifies it: . 1: Bluetooth bth = new Bluetooth(); 2: 3: // EnumRadios(bth); 4: 5: if (bth.RefreshDevices(false, true, true, true, true, null) == false) 6: { 7: Console.WriteLine("Unable to enum devices"); 8: return; 9: } 10: 11: foreach (BluetoothDevice device in bth.Devices) 12: { 13: Console.WriteLine("Devicename: ......

Posted On Thursday, March 29, 2007 2:39 PM

WinToolZone.Bluetooth - Managed Bluetooth API for the desktop
[Originally posted on 5th July 2006] One of the communication protocols not present in .NET Framework class libraries is Bluetooth. So today, I started to work on my implementation of a managed API for Bluetooth programming - WinToolZone.Bluetooth. I am authoring it using Managed C++ and leveraging the Microsoft Bluetooth stack APIs. I just completed implementing the support for enumerating the Bluetooth radios on a machine. Below is a C# program that exemplifies how they can be enumerated: . 1: ......

Posted On Thursday, March 29, 2007 2:28 PM

DesktopSMS - Send, Receive and Reply to SMS from the desktop
[Originally posted on 31st July 2006] Ever wanted to compose SMS from the ease of desktop instead of the phone? Wanted to be notified on the desktop, while you are working, when a SMS is received and reply to it from there itself? DesktopSMS, for Windows Mobile 5.0 based SmartPhone and PocketPC devices, will let you do just that! Based upon .NET Framework 2.0, .NET Compact Framework 2.0 and Windows Mobile 5.0, it allows you to compose, receive and reply to SMS while the phone is connected to your ......

Posted On Thursday, March 29, 2007 2:24 PM

[Download] TransNTFS v1.0.0.1 - support for folders, symbolic and hard links and more
I have updated TransNTFS, my managed implementation for the transactional NTFS APIs that have been introduced with Windows Vista. TransNTFS now also supports the following operations under a transaction: Creation and deletion of folders Deletion of files Creation of symbolic links Creation of hard links It comes with complete documentation (as always) and can be downloaded from http://www.wintoolzone.com/... ......

Posted On Thursday, March 29, 2007 2:19 PM

[Download] TransNTFS - Managed implementation of Transactional NTFS (TxF) APIs
Sometime back, I had made a post regarding a native C++ class I had authored for using some of the Transactional NTFS (TxF)APIs introduced in Windows Vista. Almost two weeks from that post, I just finished my managed implementation, TransNTFS, that enables you to use the TxF APIs from managed code. As always, Managed C++ enabled the implementation with excellent ease. It comes with complete documentation and can be downloaded from http://www.wintoolzone.com/... Below is an ......

Posted On Thursday, March 29, 2007 1:49 PM

Article: Customizing AppDomain Creation
Did you have a scenario where you wished you could customize the creation of AppDomains? Or, you could control how many AppDomains any code that runs in your application context (e.g. if you are writing a plugin load framework) could create? Or, how about reusing AppDomains for various assemblies? I have just finished an article on how any of the above scenarios can be accomplished using the System.AppDomainManager type, introduced in .NET Framework 2.0, by intercept AppDomain creation requests. ......

Posted On Thursday, March 29, 2007 1:47 PM

How the SSCLI [a.k.a. Rotor] managed "new" works
One of the best ways to understand how the CLR works internally is to have a look at the SSCLI [a.k.a Rotor] source code. In How the SSCLI [a.k.a. Rotor] managed "new" works, I have used Rotor source code to discuss what happens behind the scenes when you use the managed new operator to instantiate a managed type, discussing implications of object size, how requests from multiple threads are handled, the different validations that are done, when out-of-memory exception is thrown, etc. If you are ......

Posted On Thursday, March 29, 2007 1:46 PM

Programming the Transactional NTFS (TxF)
One of the key new features of Windows Vista is a component called the Kernel Transaction Manager (KTM) that brings inherent support for transactional development in not just the kernel-mode but also for user mode. Infact, NTFS has been enhanced to use and support transactions such that couple of new APIs (e.g. CopyFileTransacted, MoveFileTransacted just to name a few) have surfaced up. You can get more details on Transactional NTFS here. To demonstrate the power of the new APIs, I wrote a C++ class ......

Posted On Thursday, March 29, 2007 1:45 PM

[Download] TransNTFS v1.0.0.1 - support for folders, symbolic and hard links and more
I have updated TransNTFS, my managed implementation for the transactional NTFS APIs that have been introduced with Windows Vista. TransNTFS now also supports the following operations under a transaction: Creation and deletion of folders Deletion of files Creation of symbolic links Creation of hard links It comes with complete documentation (as always) and can be downloaded from http://www.wintoolzone.com/... ......

Posted On Sunday, March 18, 2007 10:09 AM

[Download] TransNTFS - Managed implementation of Transactional NTFS (TxF) APIs
Sometime back, I had made a post regarding a native C++ class I had authored for using some of the Transactional NTFS (TxF)APIs introduced in Windows Vista. Almost two weeks from that post, I just finished my managed implementation, TransNTFS, that enables you to use the TxF APIs from managed code. As always, Managed C++ enabled the implementation with excellent ease. It comes with complete documentation and can be downloaded from http://www.wintoolzone.com/... Below is an ......

Posted On Thursday, March 15, 2007 2:30 PM

Programming the Transactional NTFS (TxF)
One of the key new features of Windows Vista is a component called the Kernel Transaction Manager (KTM) that brings inherent support for transactional development in not just the kernel-mode but also for user mode. Infact, NTFS has been enhanced to use and support transactions such that couple of new APIs (e.g. CopyFileTransacted, MoveFileTransacted just to name a few) have surfaced up. You can get more details on Transactional NTFS here. To demonstrate the power of the new APIs, I wrote a C++ class ......

Posted On Thursday, March 1, 2007 11:37 PM

Copyright © Gaurav Khanna | Powered by: GeeksWithBlogs.net