Click here to Skip to main content
14,364,399 members
   

C#

 
AnswerRe: Looking for Text To Speech library for C# ? Pin
Richard MacCutchan7-Nov-19 22:04
protectorRichard MacCutchan7-Nov-19 22:04 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Member 245846710-Nov-19 18:10
memberMember 245846710-Nov-19 18:10 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Richard MacCutchan10-Nov-19 23:15
protectorRichard MacCutchan10-Nov-19 23:15 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Member 798912210-Nov-19 23:54
memberMember 798912210-Nov-19 23:54 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Richard MacCutchan11-Nov-19 1:11
protectorRichard MacCutchan11-Nov-19 1:11 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Member 245846712-Nov-19 16:33
memberMember 245846712-Nov-19 16:33 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Richard MacCutchan12-Nov-19 23:07
protectorRichard MacCutchan12-Nov-19 23:07 
QuestionHow should I handle versioning of my application that contains versioning information about products? Pin
arnold_w7-Nov-19 2:32
memberarnold_w7-Nov-19 2:32 
I am writing a C# application that can control, monitor and upgrade firmware on 3 different hardware products. These products are accessed through registers and every once in a while registers are made obsolete or added (at the end). In my C# application I have a table of the latest versions this version of the C# application supports, e.g.:

PRODUCT_0 3.0.2.8
PRODUCT_1 2.0.2.1
PRODUCT_2 4.4.2.0

If I try to communicate with a PRODUCT_1 of version 2.0.2.2 in the example above, my C# application would display an error message asking the user to obtain a newer version of the C# application.

I feel it would be nice to also give the actual C# application some kind of version or unique identifier. Of course, in the example above I could call it "version" 3.0.2.8 2.0.2.1 4.4.2.0, but as I add more products this "version" would become very long. I could use the same versioning format as the products (W.X.Y.Z), but is becomes difficult to manage when several persons work on separate branches on the different products in Git. I'm thinking that calculating a 4-byte CRC/hash on the supported versions would be a better option, but then I lose chronological information (it becomes hard to know which version is the latest version). So that would need to supplemented with a timestamp of some sort. Please note that I want the version/hash/time stamp to be compiled into the C# so it can be shown in a little "About"-box. Does anybody have any suggestions?

Another thing I was thinking of is to include the entire Visual Studio source code of my C# application project as a zip-file that can be downloaded from within my C# application by pressing a button "Get This Application's Source Code", that way I could always get the source code of an .exe file and then I could iterate through Git to find the most appropriate commit. Does anybody have experience with this and can share experiences?
AnswerRe: How should I handle versioning of my application that contains versioning information about products? Pin
Eddy Vluggen7-Nov-19 3:19
mveEddy Vluggen7-Nov-19 3:19 
AnswerRe: How should I handle versioning of my application that contains versioning information about products? Pin
phil.o7-Nov-19 5:02
mvephil.o7-Nov-19 5:02 
AnswerRe: How should I handle versioning of my application that contains versioning information about products? Pin
OriginalGriff7-Nov-19 7:15
protectorOriginalGriff7-Nov-19 7:15 
GeneralRe: How should I handle versioning of my application that contains versioning information about products? Pin
Richard Deeming7-Nov-19 8:41
mveRichard Deeming7-Nov-19 8:41 
QuestionHow can I block Cross-site Scripting (XSS) through interceptor in proxy tool in ASP.Net using c# code Pin
srinihan7-Nov-19 0:05
membersrinihan7-Nov-19 0:05 
AnswerRe: How can I block Cross-site Scripting (XSS) through interceptor in proxy tool in ASP.Net using c# code Pin
Pete O'Hanlon7-Nov-19 0:26
protectorPete O'Hanlon7-Nov-19 0:26 
AnswerMessage Closed Pin
9-Nov-19 23:44
memberMember 146492479-Nov-19 23:44 
QuestionMessage Closed Pin
5-Nov-19 22:00
membervasanthkumarmk5-Nov-19 22:00 
AnswerRe: How to Store XML File to Registry Pin
Richard MacCutchan5-Nov-19 23:08
protectorRichard MacCutchan5-Nov-19 23:08 
QuestionHoe to send sms through mobile connection not any website registration in c# window application Pin
Member 146424693-Nov-19 9:31
memberMember 146424693-Nov-19 9:31 
AnswerRe: Hoe to send sms through mobile connection not any website registration in c# window application Pin
Richard MacCutchan4-Nov-19 0:38
protectorRichard MacCutchan4-Nov-19 0:38 
GeneralRe: Hoe to send sms through mobile connection not any website registration in c# window application Pin
Member 1464246912-Nov-19 0:47
memberMember 1464246912-Nov-19 0:47 
Question[Solved] Safe way to insert USB-drive. Pin
Acuena1-Nov-19 6:48
memberAcuena1-Nov-19 6:48 
AnswerRe: Safe way to insert USB-drive. Pin
Richard Deeming1-Nov-19 7:27
mveRichard Deeming1-Nov-19 7:27 
GeneralRe: Safe way to insert USB-drive. Pin
Acuena1-Nov-19 13:38
memberAcuena1-Nov-19 13:38 
AnswerRe: Safe way to insert USB-drive. Pin
OriginalGriff1-Nov-19 7:43
protectorOriginalGriff1-Nov-19 7:43 
GeneralRe: Safe way to insert USB-drive. Pin
Acuena1-Nov-19 13:38
memberAcuena1-Nov-19 13:38 

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.