mirror of
https://github.com/iminet/xmlrpcwsc-dotnet.git
synced 2024-11-14 12:32:38 +01:00
48 lines
1.6 KiB
C#
48 lines
1.6 KiB
C#
|
////
|
||
|
/// Copyright (c) 2016 Saúl Piña <sauljabin@gmail.com>.
|
||
|
///
|
||
|
/// This file is part of xmlrpcwsc.
|
||
|
///
|
||
|
/// xmlrpcwsc is free software: you can redistribute it and/or modify
|
||
|
/// it under the terms of the GNU Lesser General Public License as published by
|
||
|
/// the Free Software Foundation, either version 3 of the License, or
|
||
|
/// (at your option) any later version.
|
||
|
///
|
||
|
/// xmlrpcwsc is distributed in the hope that it will be useful,
|
||
|
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
/// GNU Lesser General Public License for more details.
|
||
|
///
|
||
|
/// You should have received a copy of the GNU Lesser General Public License
|
||
|
/// along with xmlrpcwsc. If not, see <http://www.gnu.org/licenses/>.
|
||
|
////
|
||
|
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace XmlRpc {
|
||
|
|
||
|
/// <summary>
|
||
|
/// Component info
|
||
|
/// </summary>
|
||
|
public sealed class ComponentInfo {
|
||
|
|
||
|
public static readonly string Name = "XML-RPC Web Service Client";
|
||
|
public static readonly string ComponentName = "xmlrpcwsc";
|
||
|
public static readonly string Version = "1.3.0";
|
||
|
|
||
|
/// <summary>
|
||
|
/// To the dictionary
|
||
|
/// </summary>
|
||
|
/// <returns>The dictionary</returns>
|
||
|
public static Dictionary<string, string> ToDictionary() {
|
||
|
Dictionary<string, string> info = new Dictionary<string, string>();
|
||
|
info.Add("Name", Name);
|
||
|
info.Add("ComponentName", ComponentName);
|
||
|
info.Add("Version", Version);
|
||
|
return info;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|