How do I get the systems caret period in .NET?
问题 How do I know the exact period of the caret blinking on a certain Windows system? (Programmatically using .NET) 回答1: You can P/Invoke it. http://www.pinvoke.net/default.aspx/user32.getcaretblinktime 回答2: You can always simply P/Invoke GetCaretBlinkTime (Daniel's answer gives the copy/pastable signature). If you don't mind having a reference to Windows Forms, there is also SystemInformation.CaretBlinkTime. Unfortunately it seems that the analogous SystemParameters class does not expose this