Warning 2 'System.AppDomain.GetCurrentThreadId()' is obsolete: 'AppDomain.GetCurrentThreadId has been deprecated because it does not provide a stable Id when managed threads are running on fibers (aka lightweight threads). To get a stable identifier for a managed thread, use the ManagedThreadId property on Thread. http://go.microsoft.com/fwlink/?linkid=14202'
i use this code from http://www.codeproject.com/Articles/22913/Auto-logout-Within-a-Windows-Application. And than appear above this warning. How to fix this warning.Please help me.