Skip to content

troll31/sms-counter-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SMS Counter (C#)

Character counter for SMS messages.

Original inspiration : danxexe/sms-counter

Usage

var oInfos = new SmsCounter("content of the SMS");

You will have access to the following informations :

oInfos.Messages 	// Number of messages (Int32) = 1
oInfos.Length   	// Total length of messages (Int32) = 18
oInfos.Remaining 	// Remaining chars in the message (Int32) = 142
oInfos.PerMessage 	// Max chars in 1 message (Int32) = 160
oInfos.Encoding 	// Encoding used by messages (EncodingEnum) = GSM_7BIT

ToDo

Known Issue

(none)

Other Languages

License

SMS Counter is released under the MIT License.