MemoryCounter control gives you an easy way to monitor the total memory usage of your application. In order to pass the certification requirement monitoring the memory usage can be vital.
To begin with using MemoryCounter first add a reference to the Coding4Fun.Phone.Controls.dll
To use the MemoryCounter the XAML you have to add the following namespace declaration:
: You can see the MemoryCounter results only in DEBUG mode!
Using MemoryCounter :
MemoryCounter counter = new MemoryCounter();
MemoryCounter exposes the following properties: