How to customize error messages shown when changing password on Windows 7

Hi all, A customer of mine wanted to change the error messages shown to users when changing their password on Windows 7, e.g. when new and old passwords won’t match, or the old password of the user is invalid, etc. On Windows XP they did that with a custom Gina. They wondered if they could…

2

FaxSendDocument API does not return when called from a Windows service

Hi all, Some time ago a customer of mine was developing a native application using Fax API, which worked fine on Windows Server 2003. On Windows Server 2008 though, when the application was being run as a service, they could see that FaxSendDocument API was not returning. But everything worked fine on that OS when…

0

SChannel does not support SSL Fragmentation

Hi all, When connecting to an SSL-enabled web site with Internet Explorer, the client and server must negotiate an SSL session. The server sends its list of trusted root certificates to the client in the form of a non-encrypted record. The server requires that the client have a digital certificate for authentication, the client is…

2

Big delay when calling SslStream.AuthenticateAsClient

Hi all, Some time ago I had a customer who was opening a SSL connection on his C# application, and he was calling SslStream.AuthenticateAsClient. His problem was that this call was taking around 15 seconds for each connection he made.  I debugged the issue and saw that the time that SslStream.AuthenticateAsClient was taking went to…

0

How to create a memory mapped file with C# (Windows Vista / Windows 7)

Hi all,   The following C# sample shows how to create a memory mapped file and use private namespaces to allow access to specific groups of users:   FORM1.CS using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; using System.Security.Principal; using System.IO; namespace Alejacma { public…

0