Assume that you have upgraded to Microsoft .NET Framework 4.6 on your computer. The ContentDispositionHeaderValue class will not eliminate leading zeroes in the hour portion of the time.
In previous versions of the .NET Framework, the hour part of the time in the ToString() method would drop leading zeros. In the .NET Framework 4.6, the formatting of the hour part of the time will always be two digits and contain a leading zero if needed.
For example, you input a time "Sun, 15 Apr 2012 09:55:44 GMT," in the previous versions of the .NET Framework, it will be modified to "Sun, 15 Apr 2012 9:55:44 GMT." However, in the .NET Framework 4.6, the time is not modified.
In previous versions of the .NET Framework, the hour part of the time in the ToString() method would drop leading zeros. In the .NET Framework 4.6, the formatting of the hour part of the time will always be two digits and contain a leading zero if needed.
For example, you input a time "Sun, 15 Apr 2012 09:55:44 GMT," in the previous versions of the .NET Framework, it will be modified to "Sun, 15 Apr 2012 9:55:44 GMT." However, in the .NET Framework 4.6, the time is not modified.