Installed Printers

Installed Printers

  
I needed a way of getting all the printers installed on a computer.
To accomplish this i builded a extension and used C# function "PrinterSettings.InstalledPrinters". The problem is that i deleted some printers and add anothers and what i get from this function didnt change.because of this i'm not getting the right printers.
I used this function outside outsystem on a testing application and it returns the right printers.
I dont know why I'm getting different values on differente places.I thought it could be a user problem or a cache prob of some sort, but I dont know how to find the problem and what i can do to resolve it. anyone can help me?