Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
AnswerRe: Looking for Text To Speech library for C# ? Pin
Richard MacCutchan7-Nov-19 21:04
mveRichard MacCutchan7-Nov-19 21:04 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Member 245846710-Nov-19 17:10
Member 245846710-Nov-19 17:10 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Richard MacCutchan10-Nov-19 22:15
mveRichard MacCutchan10-Nov-19 22:15 
GeneralRe: Looking for Text To Speech library for C# ? Pin
kalberts10-Nov-19 22:54
kalberts10-Nov-19 22:54 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Richard MacCutchan11-Nov-19 0:11
mveRichard MacCutchan11-Nov-19 0:11 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Member 245846712-Nov-19 15:33
Member 245846712-Nov-19 15:33 
GeneralRe: Looking for Text To Speech library for C# ? Pin
Richard MacCutchan12-Nov-19 22:07
mveRichard MacCutchan12-Nov-19 22:07 
QuestionHow should I handle versioning of my application that contains versioning information about products? Pin
arnold_w7-Nov-19 1:32
arnold_w7-Nov-19 1: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 2:19
professionalEddy Vluggen7-Nov-19 2:19 
AnswerRe: How should I handle versioning of my application that contains versioning information about products? Pin
phil.o7-Nov-19 4:02
professionalphil.o7-Nov-19 4:02 
AnswerRe: How should I handle versioning of my application that contains versioning information about products? Pin
OriginalGriff7-Nov-19 6:15
mveOriginalGriff7-Nov-19 6:15 
GeneralRe: How should I handle versioning of my application that contains versioning information about products? Pin
Richard Deeming7-Nov-19 7:41
mveRichard Deeming7-Nov-19 7:41 
QuestionHow can I block Cross-site Scripting (XSS) through interceptor in proxy tool in ASP.Net using c# code Pin
srinihan6-Nov-19 23:05
srinihan6-Nov-19 23:05 
AnswerRe: How can I block Cross-site Scripting (XSS) through interceptor in proxy tool in ASP.Net using c# code Pin
Pete O'Hanlon6-Nov-19 23:26
mvePete O'Hanlon6-Nov-19 23:26 
QuestionMessage Closed Pin
5-Nov-19 21:00
vasanthkumarmk5-Nov-19 21:00 
AnswerRe: How to Store XML File to Registry Pin
Richard MacCutchan5-Nov-19 22:08
mveRichard MacCutchan5-Nov-19 22:08 
QuestionHoe to send sms through mobile connection not any website registration in c# window application Pin
Member 146424693-Nov-19 8:31
Member 146424693-Nov-19 8:31 
AnswerRe: Hoe to send sms through mobile connection not any website registration in c# window application Pin
Richard MacCutchan3-Nov-19 23:38
mveRichard MacCutchan3-Nov-19 23:38 
GeneralRe: Hoe to send sms through mobile connection not any website registration in c# window application Pin
Member 1464246911-Nov-19 23:47
Member 1464246911-Nov-19 23:47 
QuestionMessage Removed Pin
3-Nov-19 2:33
Acuena3-Nov-19 2:33 
AnswerMessage Removed Pin
3-Nov-19 2:59
mveOriginalGriff3-Nov-19 2:59 
GeneralMessage Removed Pin
3-Nov-19 4:41
Acuena3-Nov-19 4:41 
GeneralMessage Removed Pin
3-Nov-19 4:44
mveOriginalGriff3-Nov-19 4:44 
GeneralMessage Removed Pin
3-Nov-19 5:13
Acuena3-Nov-19 5:13 
Question[Solved] Safe way to insert USB-drive. Pin
Acuena1-Nov-19 5:48
Acuena1-Nov-19 5:48 

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.