How to set Validity Period in minutes

Added by pradip35 about 1 month ago

Dear Sir,

How do I set validity period in Minutes.
My project is based on it.

So please help me.

Thanx in advance


Replies (12)

RE: How to set Validity Period in minutes - Added by pradip35 about 1 month ago

I want a option for 5 Minute.
Please add this in your Dll

ValidityPeriod.Add("1 Hour", MessageValidPeriod.OneHour)
ValidityPeriod.Add("3 Hours", MessageValidPeriod.ThreeHours)
ValidityPeriod.Add("6 Hours", MessageValidPeriod.SixHours)
ValidityPeriod.Add("12 Hours", MessageValidPeriod.TwelveHours)
ValidityPeriod.Add("1 Day", MessageValidPeriod.OneDay)
ValidityPeriod.Add("1 Week", MessageValidPeriod.OneWeek)
ValidityPeriod.Add("Maximum", MessageValidPeriod.Maximum)

Thanx

RE: How to set Validity Period in minutes - Added by admin about 1 month ago

Hi,

Currently the library only supports hours and we will see if we can incorporate this into the next release.

Thanks
Regards
admin

RE: How to set Validity Period in minutes - Added by pradip35 about 1 month ago

Dear Sir,

With due regards I would like to plead a humble request to you to help me to complete my project in time, I have been stuck in this for quite long now.

Its very critical for me to get that notification in 5 minutes. I know it would not be a great deal for you to do so.

Please help me in overcoming this hurdle.

RE: How to set Validity Period in minutes - Added by pradip35 about 1 month ago

Sir,
Its very critical for me
I have been stuck in this

Please do a patch in your dll for me
Replace Hour to Minute like

ValidityPeriod.Add("6 Hours", MessageValidPeriod.SixHours)
to
ValidityPeriod.Add("6 Minute", MessageValidPeriod.SixMinute)

Thanx

RE: How to set Validity Period in minutes - Added by admin about 1 month ago

Hi,

We will see if we can provide you with a patch as soon as we can.

Thanks
Regards
admin

RE: How to set Validity Period in minutes - Added by admin 30 days ago

Hi,

Please try with the attached patch, do this to set it to 5 minutes

sms.ValidityPeriod = MessageValidPeriod.Custom;
sms.CustomValidityPeriod = 5;

Thanks
Regards
admin

RE: How to set Validity Period in minutes - Added by pradip35 30 days ago

Dear Admin,

Thank you very much for your support.

I am facing a problem on reference this dll to my project.

I get Yellow exclamation mark in references.

I have downloaded this dll many times but no luck !!

Please solve this problem.

My system is Windows XP 32 bit.

I am really thankful to you that you paid so much effort in order to solve my problem.

It was an ultimate nescessity for me, without this my project would be never completed.

You have done a wonderful work for me. I thank you from my heart.

RE: How to set Validity Period in minutes - Added by pradip35 29 days ago

Sir,
I am very Sorry.
The problem was not in your side.
When I tested the patched dll in VS2010 (.Net 4.0) its working very fine but not in VS2008 (.Net 2.0).
So please provide me the patched dll for .Net 2.0 (32 bit and 64 bit)
Thank you very much

RE: How to set Validity Period in minutes - Added by admin 29 days ago

Hi,

You can use the attached patch for .net 2.0

Thanks
Regards
admin

RE: How to set Validity Period in minutes - Added by pradip35 28 days ago

Thank you Sir,

Its working like champ.

Also provide me the patched dll for x64 (.Net 2.0)

Thanx a lot

RE: How to set Validity Period in minutes - Added by admin 27 days ago

Hi,

Please use the attached dll for .NET 2.0 x64.

Thanks

RE: How to set Validity Period in minutes - Added by pradip35 26 days ago

Dear Admin,

Thank you very much for your support.

(1-12/12)