I am defining a Color from argb , ex
Color.FromArgb(255,255,0,0);
In visual studio 2012 , winRT application it says that this is tagged with [security critical] . Are there any reasons why? I tried searching, no results. And no idea why this relates to security.
Update:
Now I notice, not only does FromArgb(…); methods gives this [SECURITY CRITICAL] warning. any of these:
c.A = 255;
c.R = 255;
c.G = 0;
c.B = 0;
Also does.
System.Drawing is a wrapper around unmanaged GDI+ code. From my understanding, WinRT does not support GDI+:
http://social.msdn.microsoft.com/Forums/en-NZ/winappswithnativecode/thread/0ba00fbd-183f-4df6-afa2-04d0ac14706a