Click here to Skip to main content
15,893,622 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Is .Net really an improvement over other IDEs? Pin
Michael P Butler6-Sep-05 0:24
Michael P Butler6-Sep-05 0:24 
QuestionSHA-2, is it in .NET? Pin
Dave Shaw2-Sep-05 13:13
Dave Shaw2-Sep-05 13:13 
AnswerRe: SHA-2, is it in .NET? Pin
Paul Conrad14-Sep-05 19:59
professionalPaul Conrad14-Sep-05 19:59 
QuestionGDI Region Union Bug Pin
Steve Knauber2-Sep-05 4:27
Steve Knauber2-Sep-05 4:27 
QuestionApplication Architecture Pin
radasys2-Sep-05 3:51
radasys2-Sep-05 3:51 
AnswerRe: Application Architecture Pin
radasys5-Sep-05 0:38
radasys5-Sep-05 0:38 
Question.Net and HtmlHelp function Pin
daisyliu1-Sep-05 6:34
daisyliu1-Sep-05 6:34 
QuestionTimeZone.CurrentTimeZone not updated when machine's time zone changes. Pin
Matt Casto1-Sep-05 6:17
Matt Casto1-Sep-05 6:17 
I have a C# windows service that depends on time comparisons that is encountering problems due to the time zone on the machine being changed. Unfortunately, this time zone change is outside of my control. I use the TimeZone.CurrentTimeZone.ToUniversalTime() and TimeZone.CurrentTimeZone.GetUtcOffset() methods to make sure all my times are converted and compared as UTC. The problem is that TimeZone.CurrentTimeZone is not updating when the machine's time zone has changed. You can reproduce this easily by creating a console app with the following lines of code, and manually changing your machine's time zone during the app's pause.

Console.WriteLine("Current time zone is {0}.", TimeZone.CurrentTimeZone.StandardName);<br />
Console.Write("Waiting for time zone change.  Hit 'Enter' to continue ...");<br />
Console.ReadLine(); // manually change time zone here before app continues<br />
Console.WriteLine("Current time zone is {0}.", TimeZone.CurrentTimeZone.StandardName);


Does anyone have any idea about how to refresh or update the TimeZone.CurrentTimeZone? Thanks!
AnswerRe: TimeZone.CurrentTimeZone not updated when machine's time zone changes. Pin
Matt Casto2-Sep-05 4:59
Matt Casto2-Sep-05 4:59 
AnswerRe: TimeZone.CurrentTimeZone not updated when machine's time zone changes. Pin
Richard Deeming5-Sep-05 8:17
mveRichard Deeming5-Sep-05 8:17 
GeneralRe: TimeZone.CurrentTimeZone not updated when machine's time zone changes. Pin
Matt Casto5-Sep-05 15:32
Matt Casto5-Sep-05 15:32 
GeneralRe: TimeZone.CurrentTimeZone not updated when machine's time zone changes. Pin
Richard Deeming5-Sep-05 23:50
mveRichard Deeming5-Sep-05 23:50 
GeneralRe: TimeZone.CurrentTimeZone not updated when machine's time zone changes. Pin
Matt Casto6-Sep-05 1:17
Matt Casto6-Sep-05 1:17 
GeneralRe: TimeZone.CurrentTimeZone not updated when machine's time zone changes. Pin
Richard Deeming6-Sep-05 6:57
mveRichard Deeming6-Sep-05 6:57 
Question[security] setting dynamically the proxy.Credentials with the currentIdentity Pin
joaoPaulo1-Sep-05 3:36
joaoPaulo1-Sep-05 3:36 
Questionlook for some options which can pass through firewall Pin
at2000131-Aug-05 16:35
at2000131-Aug-05 16:35 
AnswerRe: look for some option witch can pass through firewall Pin
Andy Brummer31-Aug-05 17:55
sitebuilderAndy Brummer31-Aug-05 17:55 
GeneralRe: look for some option witch can pass through firewall Pin
at2000131-Aug-05 23:52
at2000131-Aug-05 23:52 
GeneralRe: look for some option witch can pass through firewall Pin
Andy Brummer1-Sep-05 3:34
sitebuilderAndy Brummer1-Sep-05 3:34 
QuestionExtracting Frames From The AVI Movie Pin
Nabeel Younus Khan31-Aug-05 11:04
Nabeel Younus Khan31-Aug-05 11:04 
QuestionWindows Service arguments Pin
vSoares31-Aug-05 5:44
professionalvSoares31-Aug-05 5:44 
QuestionPicture Box control for .NET PocketPC application Pin
Sevugan31-Aug-05 5:13
Sevugan31-Aug-05 5:13 
AnswerRe: Picture Box control for .NET PocketPC application Pin
Terry Dong31-Aug-05 16:15
Terry Dong31-Aug-05 16:15 
Questiontapi problem Pin
iram130-Aug-05 18:45
iram130-Aug-05 18:45 
Question.Net and Memory Resources Pin
Stanciu Vlad30-Aug-05 10:49
Stanciu Vlad30-Aug-05 10:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.