File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
InfobipClient/InfobipClientExamples Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ static void Main(string[] args)
1111 //new AdvancedSmsFlashExample().RunExampleAsync().Wait();
1212 //new AdvancedSmsLanguageExample().RunExampleAsync().Wait();
1313 //new AdvancedSmsNotifyExample().RunExampleAsync().Wait();
14- new AdvancedSmsSchedulingExample ( ) . RunExampleAsync ( ) . Wait ( ) ;
14+ // new AdvancedSmsSchedulingExample().RunExampleAsync().Wait();
1515 //new AdvancedSmsTrackingExample().RunExampleAsync().Wait();
1616
1717 //new GetAccountBalanceExample().RunExampleAsync().Wait();
Original file line number Diff line number Diff line change 1+ using Infobip . Api . Model . Account ;
2+ using Newtonsoft . Json ;
3+ using System ;
4+ using System . Threading . Tasks ;
5+
6+ namespace Infobip . Api . Client . Examples
7+ {
8+ class GetAccountBalanceExample : Example
9+ {
10+ public override async Task RunExampleAsync ( )
11+ {
12+ GetAccountBalance client = new GetAccountBalance ( BASIC_AUTH_CONFIGURATION ) ;
13+
14+ AccountBalance accountBalance = await client . ExecuteAsync ( ) ;
15+ Console . WriteLine ( "Account balance: " ) ;
16+ Console . WriteLine ( JsonConvert . SerializeObject ( accountBalance , new JsonSerializerSettings { Formatting = Formatting . Indented } ) ) ;
17+ }
18+ }
19+ }
You can’t perform that action at this time.
0 commit comments