CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
icredentials_by_host.h
1
2#pragma once
3
4#include <system/string.h>
5#include <system/shared_ptr.h>
6#include <system/object.h>
7#include <cstdint>
8
9namespace System {
10namespace Net {
11
12class NetworkCredential;
13
18class ASPOSECPP_SHARED_CLASS ICredentialsByHost : public virtual System::Object
19{
24
26 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
28 ASPOSECPP_SHARED_RTTI_INFO_DECL();
29
30public:
35 virtual ASPOSECPP_SHARED_API System::SharedPtr<NetworkCredential> GetCredential(String host, int32_t port, String authenticationType) = 0;
36};
37} // namespace Net
38} // namespace System
Provides the authentication interface for retrieving credentials for a host, port,...
Definition: icredentials_by_host.h:19
virtual System::SharedPtr< NetworkCredential > GetCredential(String host, int32_t port, String authenticationType)=0
Returns credentials for the specified host and authentication type.
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Definition: db_command.h:9