Example #1
0
 public static void SetStandardOutputCharacterAttributes(ConsoleCharacterAttributes attributes)
 {
     SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), attributes);
 }
Example #2
0
 private static extern bool SetConsoleTextAttribute(IntPtr hConsoleOutput, ConsoleCharacterAttributes wAttributes);