Click here to Skip to main content
15,439,994 members
Home / Discussions / C#
   

C#

 
QuestionPaint Image on Form with BitBlt? Pin
Darla Fanbridge24-Jan-18 3:12
MemberDarla Fanbridge24-Jan-18 3:12 
AnswerRe: Paint Image on Form with BitBlt? Pin
OriginalGriff24-Jan-18 4:05
mveOriginalGriff24-Jan-18 4:05 
QuestionSQL Connection string ignoring UserID Pin
Member 1240626023-Jan-18 2:02
MemberMember 1240626023-Jan-18 2:02 
AnswerRe: SQL Connection string ignoring UserID Pin
Jochen Arndt23-Jan-18 2:25
professionalJochen Arndt23-Jan-18 2:25 
QuestionHow can i send text to the Devline camera? Pin
Member 1312505222-Jan-18 23:29
MemberMember 1312505222-Jan-18 23:29 
AnswerRe: How can i send text to the Devline camera? Pin
Pete O'Hanlon22-Jan-18 23:31
mvaPete O'Hanlon22-Jan-18 23:31 
QuestionWPF C# check if logged on with MS account Pin
Member 798746122-Jan-18 22:50
MemberMember 798746122-Jan-18 22:50 
AnswerRe: WPF C# check if logged on with MS account Pin
Richard Deeming23-Jan-18 0:29
mveRichard Deeming23-Jan-18 0:29 
Have a look at the WindowsIdentity.AuthenticationType[^] property. If the user is logged in using a Microsoft account, it should return CloudAP.
C#
var identity = System.Security.Principal.WindowsIdentity.GetCurrent();
bool isMicrosoftAccount = identity.AuthenticationType == "CloudAP";




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: WPF C# check if logged on with MS account Pin
Member 798746123-Jan-18 1:03
MemberMember 798746123-Jan-18 1:03 
Questionis there a way to define the signature of a delegate in an interface without defining the signature twice? Pin
joost.versteegen21-Jan-18 23:38
Memberjoost.versteegen21-Jan-18 23:38 
AnswerRe: is there a way to define the signature of a delegate in an interface without defining the signature twice? Pin
Nathan Minier22-Jan-18 1:15
professionalNathan Minier22-Jan-18 1:15 
GeneralRe: is there a way to define the signature of a delegate in an interface without defining the signature twice? Pin
joost.versteegen22-Jan-18 1:31
Memberjoost.versteegen22-Jan-18 1:31 
GeneralRe: is there a way to define the signature of a delegate in an interface without defining the signature twice? Pin
Nathan Minier22-Jan-18 2:00
professionalNathan Minier22-Jan-18 2:00 
SuggestionRe: is there a way to define the signature of a delegate in an interface without defining the signature twice? Pin
Richard Deeming22-Jan-18 8:11
mveRichard Deeming22-Jan-18 8:11 
GeneralRe: is there a way to define the signature of a delegate in an interface without defining the signature twice? Pin
joost.versteegen22-Jan-18 21:17
Memberjoost.versteegen22-Jan-18 21:17 
QuestionWPF C# Messagebox Result Issue Pin
Derek Kennard21-Jan-18 19:30
professionalDerek Kennard21-Jan-18 19:30 
AnswerRe: WPF C# Messagebox Result Issue Pin
phil.o21-Jan-18 23:03
mvephil.o21-Jan-18 23:03 
GeneralRe: WPF C# Messagebox Result Issue Pin
Derek Kennard22-Jan-18 6:37
professionalDerek Kennard22-Jan-18 6:37 
GeneralRe: WPF C# Messagebox Result Issue Pin
phil.o22-Jan-18 6:40
mvephil.o22-Jan-18 6:40 
GeneralRe: WPF C# Messagebox Result Issue Pin
Derek Kennard22-Jan-18 7:43
professionalDerek Kennard22-Jan-18 7:43 
GeneralRe: WPF C# Messagebox Result Issue Pin
Derek Kennard23-Jan-18 8:05
professionalDerek Kennard23-Jan-18 8:05 
GeneralRe: WPF C# Messagebox Result Issue Pin
phil.o23-Jan-18 11:53
mvephil.o23-Jan-18 11:53 
QuestionCoding Moveable Elements for Games or Whatever Pin
Member 1358827720-Jan-18 2:03
MemberMember 1358827720-Jan-18 2:03 
SuggestionRe: Coding Moveable Elements for Games or Whatever Pin
Richard MacCutchan20-Jan-18 3:01
mveRichard MacCutchan20-Jan-18 3:01 
AnswerRe: Coding Moveable Elements for Games or Whatever Pin
BillWoodruff20-Jan-18 5:17
mveBillWoodruff20-Jan-18 5:17 

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.