Foro de elhacker.net

Programación => .NET (C#, VB.NET, ASP) => Mensaje iniciado por: Eleкtro en 20 Septiembre 2013, 23:45 pm



Título: [SOURCE] CTool (Conversion Tool, calcula y convierte unidades de tamaño)
Publicado por: Eleкtro en 20 Septiembre 2013, 23:45 pm
(http://img34.imageshack.us/img34/5302/edlr.png)



· Descripcion

CTool es una aplicación por linea de comandos para convertir unidades de tamaño de almacenamiento, bytes, kilobytes, megabytes, gigabytes, terabytes, y petabyte.

Se puede especificar la precisión del factor decimal.



· Modo de empleo

(http://img9.imageshack.us/img9/1426/bszh.png)

Código:
  _______  _______                __
 |   _   ||       |.-----..-----.|  |
 |.  1___||.|   | ||  _  ||  _  ||  |
 |.  |___ `-|.  |-'|_____||_____||__|
 |:  1   |  |:  |
 |::.. . |  |::.|    Conversion
 `-------'  `---'       Tool

 By Elektro H@cker



[+] Syntax:

    CTool.exe [Filesize] [From Unit] [To Unit] [Precision]

    * Where Units are: B, KB, MB, GB, TB, PB.


[+] Usage examples:

    # Convert Bytes to Megabytes:
    CTool.exe 446.777.647.104 B MB

    # Convert Bytes to Megabytes with 3 decimal precision:
    CTool.exe 446.777.647.104 B MB 3

    # Convert Megabytes to Kilobytes:
    CTool.exe 44.33 MB KB




· Descarga

http://elektrostudios.tk/CTool.zip

Incluye Source, Compilado e Instalador.