C# Delicesine Hızlı Birim Dönüştürücü (C# Insanely Fast Unit Converter) - R10.net
Anket Düşünceniz Nedir?
Toplam Katılımcı Sayısı: 3
Düşünceniz Nedir?
Mükkemmel
%66,67 (2 Oy)
Çok İyi
%0 (0 Oy)
İyi
%33,33 (1 Oy)
Kötü
%0 (0 Oy)
Çok Kötü
%0 (0 Oy)
Berbat
%0 (0 Oy)
  • 13-09-2020, 21:13:19
    #1



    Conforyon'a Hoşgeldiniz

    Conforyon bir Birim Dönüştürücü kütüphanesidir. Sunduğu çeşitli birim dönüşümlerin dönüştürülmesine olanak sağlar.

    Kullanım
    Adım 1:Referans olarak Conforyon'u ekleyin veya NuGet üzerinden Conforyon'u aratın;
    Install-Package Conforyon
    Adım 2:Dönüşümlerin tadını çıkarın

    Demolar

    Conforyon UI


    Conforyon UX


    Ayrıntılı Kullanım

    Pano

    Metin
    /* CopyText(string Text, bool Copy = true) */
    CopyText("Conforyon", false);

    /* GetText(bool Clear = false, string Back = EmptyMessage, string Error = ErrorMessage) */
    GetText(true, "Boş!", "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>Conforyon</ReturnValue>
    </FunctionResult>

    Ses
    /* CopyAudio(byte[] Bytes) */
    CopyAudio(File.ReadAllBytes(FilePath));

    /* GetAudio(bool Clear = false) */
    GetAudio(true);
    <FunctionResult>
        <ReturnType>System.IO.Stream</ReturnType>
        <ReturnValue>DataFormats.WaveAudio</ReturnValue>
    </FunctionResult>

    Renk

    HEX -> RGB
    /* HEXtoRGB(string Hex, ColorType Type = ColorType.RGB1, string Error = ErrorMessage) */
    HEXtoRGB("FFFFFF", ColorType.RGB1, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>255, 255, 255</ReturnValue>
    </FunctionResult>

    /* HEXtoRGB(string Hex, ColorType Type = ColorType.RGB1, string Error = ErrorMessage) */
    HEXtoRGB("#000000", ColorType.RRGGBB1, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>R: 0, G: 0, B: 0</ReturnValue>
    </FunctionResult>

    RGB -> HEX
    /* RGBtoHEX(int R, int G, int B, bool Sharp = false, string Error = ErrorMessage) */
    RGBtoHEX(255, 255, 255, true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>#FFFFFF</ReturnValue>
    </FunctionResult>

    /* RGBtoHEX(int R, int G, int B, bool Sharp = false, string Error = ErrorMessage) */
    RGBtoHEX(0, 0, 0, false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>000000</ReturnValue>
    </FunctionResult>

    Kripto

    TEXT -> BASE64
    /* TEXTtoBASE64(string Text, string Error = ErrorMessage) */
    TEXTtoBASE64("Conforyon", "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>Q29uZm9yeW9u</ReturnValue>
    </FunctionResult>

    BASE64 -> TEXT
    /* BASE64toTEXT(string Base64, string Error = ErrorMessage) */
    BASE64toTEXT("Q29uZm9yeW9u", "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>Conforyon</ReturnValue>
    </FunctionResult>

    TEXT -> MD5
    /* TEXTtoMD5(string Text, bool Uppercase = false, string Error = ErrorMessage) */
    TEXTtoMD5("Conforyon", false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>9946dc70f0672da2ba000a0cb80f8872</ReturnValue>
    </FunctionResult>

    /* TEXTtoMD5(string Text, bool Uppercase = false, string Error = ErrorMessage) */
    TEXTtoMD5("Conforyon", true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>9946DC70F0672DA2BA000A0CB80F8872</ReturnValue>
    </FunctionResult>

    TEXT -> SHA1
    /* TEXTtoSHA1(string Text, bool Uppercase = false, string Error = ErrorMessage) */
    TEXTtoSHA1("Conforyon", false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>4a417fe4795f59e4848c403ffc4c569417a743b4</ReturnValue>
    </FunctionResult>

    /* TEXTtoSHA1(string Text, bool Uppercase = false, string Error = ErrorMessage) */
    TEXTtoSHA1("Conforyon", true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>4A417FE4795F59E4848C403FFC4C569417A743B4</ReturnValue>
    </FunctionResult>

    TEXT -> SHA256
    /* TEXTtoSHA256(string Text, bool Uppercase = false, string Error = ErrorMessage) */
    TEXTtoSHA256("Conforyon", false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>4a772e794799efdf4dc171ea2779e78bfa582c46ef86c6c018b7e9387d7fe56b</ReturnValue>
    </FunctionResult>

    /* TEXTtoSHA256(string Text, bool Uppercase = false, string Error = ErrorMessage) */
    TEXTtoSHA256("Conforyon", true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>4A772E794799EFDF4DC171EA2779E78BFA582C46EF86C6C018B7E9387D7FE56B</ReturnValue>
    </FunctionResult>

    TEXT -> SHA384
    /* TEXTtoSHA384(string Text, bool Uppercase = false, string Error = ErrorMessage) */
    TEXTtoSHA384("Conforyon", false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>3dca281c6056810ca6aff8bb151ea8d0a1908f8650d573237cc038dce3bb30d04a79d2c0f778a5a2e609951a11443db3</ReturnValue>
    </FunctionResult>

    /* TEXTtoSHA384(string Text, bool Uppercase = false, string Error = ErrorMessage) */
    TEXTtoSHA384("Conforyon", true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>3DCA281C6056810CA6AFF8BB151EA8D0A1908F8650D573237CC038DCE3BB30D04A79D2C0F778A5A2E609951A11443DB3</ReturnValue>
    </FunctionResult>

    TEXT -> SHA512
    /* TEXTtoSHA512(string Text, bool Uppercase = false, string Error = ErrorMessage) */
    TEXTtoSHA512("Conforyon", false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
       <ReturnValue>d47368182220aab5f687dde734acbb8d895bb2d870e789ee03216f3b215ac00a4202ead0aabce2049ae49a0079b130211323453604c088b09a27ee989de9db8b</ReturnValue>
    </FunctionResult>

    /* TEXTtoSHA512(string Text, bool Uppercase = false, string Error = ErrorMessage) */
    TEXTtoSHA512("Conforyon", true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>D47368182220AAB5F687DDE734ACBB8D895BB2D870E789EE03216F3B215AC00A4202EAD0AABCE2049AE49A0079B130211323453604C088B09A27EE989DE9DB8B</ReturnValue>
    </FunctionResult>

    Hash

    FILE -> MD5
    /* FILEtoMD5(string Path, bool Uppercase = false, string Error = ErrorMessage) */
    FILEtoMD5("C:\\Conforyon.dll", false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>f9d992a8e8e021c00baa6fe40a35b2fd</ReturnValue>
    </FunctionResult>

    /* FILEtoMD5(string Path, bool Uppercase = false, string Error = ErrorMessage) */
    FILEtoMD5("C:\\Conforyon.dll", true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>F9D992A8E8E021C00BAA6FE40A35B2FD</ReturnValue>
    </FunctionResult>

    FILE -> SHA1
    /* FILEtoSHA1(string Path, bool Uppercase = false, string Error = ErrorMessage) */
    FILEtoSHA1("C:\\Conforyon.dll", false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>5622cc83830cf224545f122a3ca129d60d151dcb</ReturnValue>
    </FunctionResult>

    /* FILEtoSHA1(string Path, bool Uppercase = false, string Error = ErrorMessage) */
    FILEtoSHA1("C:\\Conforyon.dll", true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>5622CC83830CF224545F122A3CA129D60D151DCB</ReturnValue>
    </FunctionResult>

    FILE -> SHA256
    /* FILEtoSHA256(string Path, bool Uppercase = false, string Error = ErrorMessage) */
    FILEtoSHA256("C:\\Conforyon.dll", false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>0d71a9f754b5c02cf143a4af153cbe853cda8fc096a253ebe86e6d7970615ece</ReturnValue>
    </FunctionResult>

    /* FILEtoSHA256(string Path, bool Uppercase = false, string Error = ErrorMessage) */
    FILEtoSHA256("C:\\Conforyon.dll", true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>0D71A9F754B5C02CF143A4AF153CBE853CDA8FC096A253EBE86E6D7970615ECE</ReturnValue>
    </FunctionResult>

    FILE -> SHA384
    /* FILEtoSHA384(string Path, bool Uppercase = false, string Error = ErrorMessage) */
    FILEtoSHA384("C:\\Conforyon.dll", false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>154af1bf38dc9b0495704d0a67bf5890f89833165f14d9f4990004bea1f29341a8699e70537a188e0cade1695083c9c6</ReturnValue>
    </FunctionResult>

    /* FILEtoSHA384(string Path, bool Uppercase = false, string Error = ErrorMessage) */
    FILEtoSHA384("C:\\Conforyon.dll", true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>154AF1BF38DC9B0495704D0A67BF5890F89833165F14D9F4990004BEA1F29341A8699E70537A188E0CADE1695083C9C6</ReturnValue>
    </FunctionResult>

    FILE -> SHA512
    /* FILEtoSHA512(string Path, bool Uppercase = false, string Error = ErrorMessage) */
    FILEtoSHA512("C:\\Conforyon.dll", false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>a9de54d604fba423c81862b0559aa21165d6d69cc751c74f7d2dcc360ba1b750f4e4fee934c24939bb15c70d9a632b203e086a1b9eeeb745e2e7959325c1e968</ReturnValue>
    </FunctionResult>

    /* FILEtoSHA512(string Path, bool Uppercase = false, string Error = ErrorMessage) */
    FILEtoSHA512("C:\\Conforyon.dll", true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>A9DE54D604FBA423C81862B0559AA21165D6D69CC751C74F7D2DCC360BA1B750F4E4FEE934C24939BB15C70D9A632B203E086A1B9EEEB745E2E7959325C1E968</ReturnValue>
    </FunctionResult>

    Veri Depolama

    Otomatik Veri Dönüştürme
    /* AutoDataConvert(string InputVariable, StorageType InputType, bool TypeText = false, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
    AutoDataConvert("987654321", StorageType.Byte, true, true, true, 2, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>941,90 MB</ReturnValue>
    </FunctionResult>

    /* AutoDataConvert(string InputVariable, StorageType InputType, bool TypeText = false, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
    AutoDataConvert("987654321", StorageType.Byte, false, true, false, 0, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>941</ReturnValue>
    </FunctionResult>

    Veri Dönüştürme
    /* DataConvert(string InputVariable, StorageType InputType, StorageType TypeConvert, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
    DataConvert("987654321", StorageType.Byte, StorageType.GB, true, true, 2, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>0,91</ReturnValue>
    </FunctionResult>

    /* DataConvert(string InputVariable, StorageType InputType, StorageType TypeConvert, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
    DataConvert("987654321", StorageType.Byte, StorageType.GB, false, true, 5, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>0,91982</ReturnValue>
    </FunctionResult>

    Sıcaklık

    Celsius -> Fahrenheit
    /* CtoF(string Celsius, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
    CtoF("12345", true, true, 1, true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>22.253,0 F</ReturnValue>
    </FunctionResult>

    /* CtoF(string Celsius, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
    CtoF("12345", false, false, 0, false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>22253</ReturnValue>
    </FunctionResult>

    Fahrenheit -> Celsius
    /* FtoC(string Fahrenheit, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
    FtoC("12345", true, true, 2, true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>6.840,55 C</ReturnValue>
    </FunctionResult>

    /* FtoC(string Fahrenheit, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
    FtoC("12345", false, false, 0, false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>6840</ReturnValue>
    </FunctionResult>

    Tipografi

    INCH -> CM
    /* INCHtoCM(string Inch, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
    INCHtoCM("12345", true, true, 1, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>31.356,3</ReturnValue>
    </FunctionResult>

    /* INCHtoCM(string Inch, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
    INCHtoCM("12345", false, false, 0, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>31356</ReturnValue>
    </FunctionResult>

    INCH -> PX
    /* INCHtoPX(string Inch, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
    INCHtoPX("12345", true, true, 1, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>1.185.120,0</ReturnValue>
    </FunctionResult>

    /* INCHtoPX(string Inch, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
    INCHtoPX("12345", false, false, 0, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>1185120</ReturnValue>
    </FunctionResult>

    CM -> INCH
    /* CMtoINCH(string Centimeter, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
    CMtoINCH("12345", true, true, 1, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>4.860,2</ReturnValue>
    </FunctionResult>

    /* CMtoINCH(string Centimeter, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
    CMtoINCH("12345", false, false, 0, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>4860</ReturnValue>
    </FunctionResult>

    CM -> PX
    /* CMtoPX(string Centimeter, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
    CMtoPX("12345", true, true, 1, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>466.582,6</ReturnValue>
    </FunctionResult>

    /* CMtoPX(string Centimeter, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
    CMtoPX("12345", false, false, 0, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>466582</ReturnValue>
    </FunctionResult>

    PX -> CM
    /* PXtoCM(string Pixel, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
    PXtoCM("12345", true, true, 1, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>326,6</ReturnValue>
    </FunctionResult>

    /* PXtoCM(string Pixel, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
    PXtoCM("12345", false, false, 0, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>326</ReturnValue>
    </FunctionResult>

    PX -> INCH
    /* PXtoINCH(string Pixel, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
    PXtoINCH("12345", true, true, 1, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>128,5</ReturnValue>
    </FunctionResult>

    /* PXtoINCH(string Pixel, bool Decimal, bool Comma, int PostComma = 0, string Error = ErrorMessage) */
    PXtoINCH("12345", false, false, 0, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>128</ReturnValue>
    </FunctionResult>

    Unicode

    CHAR -> ASCII
    /* CHARtoASCII(string CHAR, char Bracket = ',', string Error = ErrorMessage) */
    CHARtoASCII("Conforyon", ',', "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>67,111,110,102,111,114,121,111,110</ReturnValue>
    </FunctionResult>

    ASCII -> CHAR
    /* ASCIItoCHAR(string ASCII, char Bracket = ',', string Error = ErrorMessage) */
    ASCIItoCHAR("67,111,110,102,111,114,121,111,110", ',', "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>Conforyon</ReturnValue>
    </FunctionResult>

    Hız

    Miles Per Hour -> Kilometers Per Hour
    /* MPHtoKPH(string Miles, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
    MPHtoKPH("12345", true, true, 1, true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>19.867,3 KPH</ReturnValue>
    </FunctionResult>

    /* MPHtoKPH(string Miles, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
    MPHtoKPH("12345", false, false, 0, false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>19867</ReturnValue>
    </FunctionResult>

    Kilometers Per Hour -> Miles Per Hour
    /* KPHtoMPH(string Kilometers, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
    KPHtoMPH("12345", true, true, 1, true, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>7.670,8 MPH</ReturnValue>
    </FunctionResult>

    /* KPHtoMPH(string Kilometers, bool Decimal, bool Comma, int PostComma = 0, bool Text = true, string Error = ErrorMessage) */
    KPHtoMPH("12345", false, false, 0, false, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>7670</ReturnValue>
    </FunctionResult>

    Zaman

    Otomatik Zaman Dönüştürme
    /* AutoTimeConvert(string InputVariable, TimeType InputType, bool TypeText = false, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
    AutoTimeConvert("12345", TimeType.Second, true, true, true, 2, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>3,43 Hour</ReturnValue>
    </FunctionResult>

    /* AutoTimeConvert(string InputVariable, TimeType InputType, bool TypeText = false, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
    AutoTimeConvert("12345", TimeType.Second, false, true, false, 0, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>3</ReturnValue>
    </FunctionResult>

    Zaman Dönüştürme
    /* TimeConvert(string InputVariable, TimeType InputType, TimeType TypeConvert, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
    TimeConvert("12345", TimeType.Second, TimeType.Minute, true, true, 2, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>205,75</ReturnValue>
    </FunctionResult>

    /* TimeConvert(string InputVariable, TimeType InputType, TimeType TypeConvert, bool Decimal = false, bool Comma = false, int PostComma = 0, string Error = ErrorMessage) */
    TimeConvert("12345", TimeType.Second, TimeType.Minute, false, true, 5, "Hata!");
    <FunctionResult>
        <ReturnType>System.String</ReturnType>
        <ReturnValue>205,75411</ReturnValue>
    </FunctionResult>
    https://github.com/Taiizor