I am trying to send a SecureString to a web api controller, but it is always giving me a length of 0 at the controller's part.
Here's the client's side:
As you can see, it has a non-zero length at the time of serialization. By the time the controller gets it, it's 0.
Here's the controller's side
Everything else that's needed gets set correctly. It's not null, but the length is 0.