People, tell me how to use shared_ptr in C #?
There is a class in C ++ that has a method
static std::shared_ptr<DeviceManager> getInstance(); I need to call this method, and use this object from a C # application.
I try to implement it through a C ++ / CLI wrapper. C ++, unfortunately, I don’t know :(